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 brat serialization with newlines #61

Merged
merged 7 commits into from
Feb 10, 2022

Conversation

ArneBinder
Copy link
Owner

When spans contain newlines, the serialization to BRAT was not correctly implemented and newlines occurred in the text extracts in the .ann files resulting in truncated lines. This PR handles newlines in span annotations by creating fragmented spans around the newline character.

@ArneBinder ArneBinder changed the title [WIP] Fix brat serialization with newlines Fix brat serialization with newlines Feb 10, 2022
@ArneBinder ArneBinder added the bug Something isn't working label Feb 10, 2022
@ChristophAlt ChristophAlt merged commit 6830b8d into main Feb 10, 2022
@ArneBinder ArneBinder deleted the fix/brat_serialization_newlines branch February 28, 2022 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants