Skip to content

Commit

Permalink
pass tag filter through to Lexicon.find_stems
Browse files Browse the repository at this point in the history
  • Loading branch information
jtauber committed Apr 27, 2016
1 parent a5e784c commit 128cfe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inflexion/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def generate(self, lemma, key, tag_filter=None):

stems = set()
for lexicon in self.lexicons:
stems.update(lexicon.find_stems(lemma, key))
stems.update(lexicon.find_stems(lemma, key, tag_filter))

results = set()
for stem in stems:
Expand Down

0 comments on commit 128cfe6

Please sign in to comment.