dwadden / dygiepp

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

Dropped relation counter broken in brat_to_input.py #108

Closed serenalotreck closed 1 year ago

serenalotreck commented 1 year ago

This is a note to myself to fix this issue when I get the chance.

In brat_to_input.py, the numbers printed by the script for how many relations are dropped as a result of dropped entities don't align with the number of dropped relations that I see when I count the relations in the brat documents vs the jsonl documents separately (185 dropped vs. 17 dropped). I suspect this is because somewhere, I'm adding to the counter for relations that have already been accounted for.