Skip to content

Commit

Permalink
test: add multilingual test for is_known function
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjoDiaz committed May 16, 2024
1 parent 126a3a4 commit a0bef86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_lemmatizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,9 @@ def test_is_known() -> None:
assert is_known("FanCY", lang="en") == True
assert is_known("Fancy-String", lang="en") == False

assert is_known("espejos", lang=("es", "de")) == True
assert is_known("espejos", lang=("de", "es")) == True


def test_get_lemmas_in_text() -> None:
# text lemmatization
Expand Down

0 comments on commit a0bef86

Please sign in to comment.