dwadden / dygiepp

Span-based system for named entity, relation, and event extraction.
MIT License
569 stars 120 forks source link

Dropped entity bugfixes #106

Closed serenalotreck closed 1 year ago

serenalotreck commented 1 year ago

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.

dwadden commented 1 year ago

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.