Commit 14ef23b2077df96bfc901bb94afe0e3c337aca11

Authored by Tomasz Bartosiak
1 parent c27d679d

lex(nump) no longer failing with digits

semantics/phraseology_generator.py
... ... @@ -265,7 +265,7 @@ def get_numps(cases, numerals, nouns, atr):
265 265 options_temp += options
266 266 nums = options_temp
267 267 if len(nums) == 0:
268   - return []
  268 + continue
269 269 for (num_orth, num_tag) in nums:
270 270 rec = num_tag.split(':')[4]
271 271 for noun in nouns:
... ...