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

Method ChunkerME.topKSequences(List<String>, List<String>) fails with a class cast exception.

    XMLWordPrintableJSON

    Details

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

      Description

      The method topKSequences(List<String> sentence, List<String> tags) fails with a class cast exception because the bestSequences method expects an array of String arrays in additionalContext argument, but the topKSequences was setting a array of lists.

        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: