From cad2c7ae3d34af28db20ab99cdb806428724196b Mon Sep 17 00:00:00 2001 From: David Farago Date: Tue, 8 Mar 2022 13:41:46 +0100 Subject: [PATCH] Switch to german language model in tests Since the `multi-v0` models are no longer available at [hu-berlin], switch to the `de` model that is also used in production. With this change, the tests pass again. Fix https://github.com/pd3f/dehyphen/issues/4 --- tests/test_dehyphen.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_dehyphen.py b/tests/test_dehyphen.py index 4e781d4..460ff55 100644 --- a/tests/test_dehyphen.py +++ b/tests/test_dehyphen.py @@ -6,8 +6,7 @@ @pytest.fixture() def flair_scorer(): - # fast (small) model that also includes German - scorer = FlairScorer(lang="multi-v0", fast=True) + scorer = FlairScorer(lang="de") return scorer