Closed goodmami closed 8 months ago
From https://github.com/delph-in/pydelphin/issues/371#issuecomment-1818266129
The legacy single-quoted symbols like ('null_coord_rel) are only being parsed with a single letter:
'null_coord_rel
>>> m = simplemrs.decode("[RELS: < [ 'null_coord_rel LBL: h0 ARG0: e2 ] >]") [...] delphin.mrs._exceptions.MRSSyntaxError: line 1, character 13 [RELS: < [ 'null_coord_rel LBL: h0 ARG0: e2 ] >] ^ MRSSyntaxError: expected: a feature >>> m = simplemrs.decode("[RELS: < [ 'n LBL: h0 ARG0: e2 ] >]") >>> m.rels[0].predicate 'n'
From https://github.com/delph-in/pydelphin/issues/371#issuecomment-1818266129
The legacy single-quoted symbols like (
'null_coord_rel
) are only being parsed with a single letter: