Commit dff90de14d11f506ed7bb440766787f278f7cc7d

Authored by Tomasz Bartosiak
1 parent 02459548

ratry bez lexów wewnątrz

semantics/phraseology_generator.py
... ... @@ -213,7 +213,8 @@ def phrase(head, dependents):
213 213 for prefix in pre:
214 214 for suffix in post:
215 215 if prefix == '' and suffix == '':
216   - pass
  216 + if len(pre) == 0 and len(post) == 0:
  217 + result.append(orth)
217 218 elif prefix == '':
218 219 result.append(orth + ' ' + suffix)
219 220 elif suffix == '':
... ...