You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Peter Thygesen (JIRA)" <ji...@apache.org> on 2014/02/07 23:45:19 UTC

[jira] [Created] (OPENNLP-646) Brat SpanAnnotations with empty covered text

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)