Commit c13a529af81e6bd73fc609c3ec618ce229e7a21a

Authored by Tomasz Bartosiak
1 parent 2cdbd2bc

Poprawka związana z kompaktowym zapisem przypadków gramatycznych przez Morfeusza

semantics/phraseology_generator.py
... ... @@ -124,7 +124,7 @@ def get_nps(cases, number, nouns, atr):
124 124 filtered = []
125 125 for option in options:
126 126 (orth, tag) = option
127   - if u':' + case in tag:
  127 + if u':' + case in tag or u'.' + case in tag:
128 128 filtered.append(option)
129 129 options_temp += filtered
130 130 else:
... ...