diff --git a/semantics/phraseology_generator.py b/semantics/phraseology_generator.py index 5b6b518..6372eb1 100644 --- a/semantics/phraseology_generator.py +++ b/semantics/phraseology_generator.py @@ -308,7 +308,7 @@ def get_numps(cases, numerals, nouns, atr): for (num_orth, num_tag) in nums: rec = num_tag.split(':')[4] for noun in nouns: - options = [(orth, tag) for (orth, base, tag, _, _) in MORFEUSZ2.generate(noun) if 'subst:' in interp.getTag(MORFEUSZ2)] + options = [(orth, tag) for (orth, base, tag, _, _) in MORFEUSZ2.generate(noun) if 'subst:' in tag] filtered = [] for option in options: (orth, tag) = option