Fixes a set of bugs in brat_to_input.py/annotated_doc.py where, if an entity is dropped due to tokenization mismatches, any relations, events, or coreferences including that entity as an argument cause errors during formatting.
Thanks for doing this! I took a quick look over the code but haven't checked it thoroughly. I'm gonna assume it's good and direct people your way if issues come up.
Fixes a set of bugs in
brat_to_input.py/annotated_doc.py
where, if an entity is dropped due to tokenization mismatches, any relations, events, or coreferences including that entity as an argument cause errors during formatting.