Open dmcc opened 9 years ago
It seems that there are (at least) two off-by-one errors with these calculations:
shell% ./parseIt -l399 ../DATA/EN 398.sgml <doesn't crash, gives dummy parse> shell% ./parseIt -l399 ../DATA/EN 399.sgml parseIt: GotIter.C:73: void LeftRightGotIter::makelrgi(Edge*): Assertion `i < 400' failed. <segfaults> shell% ./parseIt -l399 ../DATA/EN 400.sgml <doesn't crash, sentence is "skipped" and dummy parse is printed instead>
The obvious workaround is to only parse things that are two fewer than the maximum sentence length (unlikely to be much of an issue in practice).
It seems that there are (at least) two off-by-one errors with these calculations:
The obvious workaround is to only parse things that are two fewer than the maximum sentence length (unlikely to be much of an issue in practice).