You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The index is not a required feature of SimpleDMRS (or any other codec, I think), but currently the codec fails if it is missing:
>>> from delphin.codecs import simpledmrs
>>> simpledmrs.decode('dmrs { [top=10000] 10000 [ _rain_v_1 e tense=past]; }')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/goodmami/delphin/pydelphin/delphin/codecs/simpledmrs.py", line 105, in decode
return _decode_dmrs(lexer)
File "/home/goodmami/delphin/pydelphin/delphin/codecs/simpledmrs.py", line 197, in _decode_dmrs
index=int(index),
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
This call should succeed.
The text was updated successfully, but these errors were encountered:
The
index
is not a required feature of SimpleDMRS (or any other codec, I think), but currently the codec fails if it is missing:This call should succeed.
The text was updated successfully, but these errors were encountered: