Skip to content

Commit

Permalink
Switch to german language model in tests
Browse files Browse the repository at this point in the history
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 pd3f#4
  • Loading branch information
David Farago committed Mar 8, 2022
1 parent 92306a6 commit cad2c7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_dehyphen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit cad2c7a

Please sign in to comment.