Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant