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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • tools-1.5.1-incubating
    • tools-1.5.1-incubating
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: