Skip to content

Commit

Permalink
#1210 - Handle discontinuous segments in brat format
Browse files Browse the repository at this point in the history
- Retain only the first element in the discontinous segment
  • Loading branch information
reckart committed Apr 22, 2018
1 parent 50b890a commit c8e2f13
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public class BratTextAnnotation
"(?<ID>T[0-9]+)\\t" +
"(?<TYPE>[a-zA-Z_][a-zA-Z0-9_\\-]+) " +
"(?<BEGIN>[0-9]+) " +
"(?<END>[0-9]+)\\t" +
"(?<END>[0-9]+)" +
"(;[0-9]+ [0-9]+)*\\t" +
"(?<TEXT>.*)");

private static final String ID = "ID";
Expand Down

0 comments on commit c8e2f13

Please sign in to comment.