Skip to content

Fix in tools/anntoconll.py to handle cases where multiple spans of text are covered by a single entity#1361

Open
ssubraveti wants to merge 1 commit intonlplab:masterfrom
ssubraveti:fix-multiple-entities
Open

Fix in tools/anntoconll.py to handle cases where multiple spans of text are covered by a single entity#1361
ssubraveti wants to merge 1 commit intonlplab:masterfrom
ssubraveti:fix-multiple-entities

Conversation

@ssubraveti
Copy link

@ssubraveti ssubraveti commented Sep 23, 2020

In brat ann files, sometimes, multiple spans of text are covered by a single entity. These are formatted by using a ;, for example:

T1	E1 77 128	some text
T2	E2 7 75	some other text
T3	E3 148 346;347 354	some other some other text

The tool that converts ann files to CONLL format fails to handle this case.

@ssubraveti ssubraveti changed the title Fix case where multiple spans are covered by a single entity Fix in tools/anntoconll.py to handle cases where multiple spans of text are covered by a single entity Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant