nlplab / brat

brat rapid annotation tool (brat) - for all your textual annotation needs
http://brat.nlplab.org
Other
1.83k stars 509 forks source link

Fix undesirable fusions of adjacent entities #1383

Open percevalw opened 3 years ago

percevalw commented 3 years ago

The current script merges adjacent entities (i.e. no word in between) if they share the same label. So B-label I-label B-label O becomes B-label I-label I-label O. Instead of comparing the labels, the scripts now compares the annotation objects directly