Skip to content

BratReader does not support N1 Reference tags #1391

@alaindesilets

Description

@alaindesilets

If you run ReadBrat.java in the attached Maven project, you get this errror:

Exception in thread "main" java.lang.IllegalStateException: Unknown annotation format: [N1	Reference T1 Wikipedia:Q95	Google]

Yet, the annotation in question is perfectly valid, according to the brat format specification:

https://brat.nlplab.org/standoff.html

I should point out that we are encountering this problem because we are using BratReader to read some files that were previously annotated by MetamapLite, and that tool makes use of the Reference line in the .ann files.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions