Peter Thygesen created OPENNLP-646:
--------------------------------------

             Summary: Brat SpanAnnotations with empty covered text
                 Key: OPENNLP-646
                 URL: https://issues.apache.org/jira/browse/OPENNLP-646
             Project: OpenNLP
          Issue Type: Wish
            Reporter: Peter Thygesen
            Priority: Minor


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)

Reply via email to