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


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