Commit c13a529af81e6bd73fc609c3ec618ce229e7a21a
1 parent
2cdbd2bc
Poprawka związana z kompaktowym zapisem przypadków gramatycznych przez Morfeusza
Showing
1 changed file
with
1 additions
and
1 deletions
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: |
... | ... |