mrsData.variables[varName] is undefined
goodmami opened this issue · comments
The following error occurs when parsing "Adi tahu bahwa hujan sudah turun." with INDRA:
mrsData.variables[varName] is undefined
This appears to be because every EP has an argument CARDIN bool
, which seems to be a bug in the grammar (at least, the MRS is ill-formed), and bool
is not a valid variable name.
The problem is that this error causes the DMRS to fail to be displayed, although it does display if the MRS box is unchecked (it appears to just ignore the rogue roles). The MRS layout function could be a bit more robust for bad inputs like this.
Note, the issue no longer shows up since I updated INDRA because the grammar bug was fixed, but the problem occurred around here:
Lines 329 to 335 in 1d48c20