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

Chunker should output chunks also as Spans

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: tools-1.5.1-incubating
    • Component/s: Chunker
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: