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:47:20 UTC
[jira] [Updated] (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 ]
Peter Thygesen updated OPENNLP-646:
-----------------------------------
Attachment: patch
proposed patch
> 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
> 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)