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
There is a "while True" loop in rules.py (line 396) and I have some text where this enters an endless loop. The text is not pretty but it is parsing.
You might have other ways of solving this, but I found that adding the following code before the assignment of referring_or_governor to its head got me out of the loop.
if referring_or_governor == referring_or_governor.head:
break
The text was updated successfully, but these errors were encountered:
Some files loaded by the `LitBankANNLoader` get stuck in an endless loop.
This is probably due to the format rather than the loader itself given the fix is to the rule set.
This patch fixes it. More details here: msg-systems#43
michel-ds
added a commit
to Guardian-Coreference-Project/coreferee
that referenced
this issue
Jan 25, 2023
Some files loaded by the `LitBankANNLoader` get stuck in an infinte loop.
This is probably due to the format rather than the loader itself given the fix is to the rule set.
This patch fixes it. More details here: msg-systems#43
(cherry picked from commit ff897d6)
There is a "while True" loop in rules.py (line 396) and I have some text where this enters an endless loop. The text is not pretty but it is parsing.
You might have other ways of solving this, but I found that adding the following code before the assignment of referring_or_governor to its head got me out of the loop.
if referring_or_governor == referring_or_governor.head:
break
The text was updated successfully, but these errors were encountered: