[ 
https://issues.apache.org/jira/browse/OPENNLP-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984386#action_12984386
 ] 

Jörn Kottmann commented on OPENNLP-62:
--------------------------------------

We cannot delete the old one. If its deleted we break backward compatibility 
with 1.5.0.

Maybe it is useful for some uses cases, lets check that and in case it can be 
completed replaced by the new one 
we can deprecate it. 

> Chunker should output chunks also as Spans
> ------------------------------------------
>
>                 Key: OPENNLP-62
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-62
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Chunker
>            Reporter: Jörn Kottmann
>            Assignee: William Colen
>
> The chunker currently takes a string array as input and outputs a tag for 
> each input string.
> The interface should be extended in a way that it can output an array of 
> Spans instead, where
> each Span contains the type, and the begin/end offset in the input array. 
> Like the name finder
> does. Like its done by ChunkSample.getPhrasesAsSpanList().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to