Skip to content

Commit

Permalink
add test to swedish stemmer
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertMartinis committed Nov 3, 2023
1 parent f8735ae commit 297630d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_stemmers.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@ def test_greek_stemmer():
# The first assert covers the empty stem case.
assert "οτ" == greek_stemmer("όταν")
assert "εργαζ" == greek_stemmer("εργαζόμενος")


def test_swedish_stemmer():
swedish_stemmer = Stemmer("swedish")
assert "sov" == swedish_stemmer("sover")

0 comments on commit 297630d

Please sign in to comment.