Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-62

Chunker should output chunks also as Spans

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • tools-1.5.1-incubating
    • Chunker
    • None

    Description

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

      Attachments

        Activity

          People

            colen William Colen
            joern Jörn Kottmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: