Skip to content

Commit

Permalink
Merge pull request #1211 from dkpro/feature/1210-brat-discontinous-se…
Browse files Browse the repository at this point in the history
…gments

#1210 - Handle discontinuous segments in brat format
  • Loading branch information
reckart authored Apr 20, 2018
2 parents 2f09bb3 + 9953c1f commit b05f634
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-Z0-9_][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 b05f634

Please sign in to comment.