Skip to content

Commit

Permalink
use keyword argument for simplemma.lemmatize for better forward compa…
Browse files Browse the repository at this point in the history
…tibility
  • Loading branch information
osma committed Sep 1, 2022
1 parent da70c21 commit d4abfa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion annif/analyzer/simplemma.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ def __init__(self, param, **kwargs):
super().__init__(**kwargs)

def _normalize_word(self, word):
return simplemma.lemmatize(word, self.lang)
return simplemma.lemmatize(word, lang=self.lang)

0 comments on commit d4abfa4

Please sign in to comment.