[
https://issues.apache.org/jira/browse/OPENNLP-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joern Kottmann updated OPENNLP-646:
-----------------------------------
Component/s: Formats
Fix Version/s: 1.6.0
Assignee: Joern Kottmann
> Brat SpanAnnotations with empty covered text
> --------------------------------------------
>
> Key: OPENNLP-646
> URL: https://issues.apache.org/jira/browse/OPENNLP-646
> Project: OpenNLP
> Issue Type: Wish
> Components: Formats
> Reporter: Peter Thygesen
> Assignee: Joern Kottmann
> Priority: Minor
> Fix For: 1.6.0
>
> Attachments: patch
>
>
> The class BratDocument's static parseDocument generated SpanAnnotations with
> empty covered text… I think that is a little messy. was this done in order to
> save memory? Otherwise I think you should rewrite the getCoveredText so it
> looks like opennlp.util.Span's CharSequence Span.getCoveredText(CharSequence
> text)
> included a patch that compiles on current trunk.
> We could also fix SpanAnnotationParser to read the "covered" text but I think
> I should look more like the opennlp api.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)