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

Refactor ChunkSample class

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: tools-1.5.1-incubating
    • Fix Version/s: tools-1.5.1-incubating
    • Component/s: Chunker
    • Labels:
      None

      Description

      The class needs some improvements:
      1. Internally it works with Lists, but all methods outputs Arrays, it is always making Lists to Arrays conversions. Better to work with arrays directly.
      2. Create a static method to create spans of phrase chunks
      3. Add javadoc

        Attachments

          Activity

            People

            • Assignee:
              colen William Colen
              Reporter:
              colen William Colen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: