You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (JIRA)" <ji...@apache.org> on 2014/02/18 12:43:21 UTC

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

     [ https://issues.apache.org/jira/browse/OPENNLP-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joern Kottmann closed OPENNLP-646.
----------------------------------

    Resolution: Fixed

> 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)