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

Evaluator.evaluateSample() sends the wrong argument to listener.correctlyClassified()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • None

    Description

      When the evalation of a sample The implementation of Evaluator.evaluateSample() puts the predicted document into the first argument in the call to listener.correctlyClassified instead of the sample being evaluated. This causes any extra information in the document sample to be lost.

      The call should be listener.correctlyClassified(sample, predicted)

      Attachments

        Issue Links

          Activity

            People

              smarthi Suneel Marthi
              dkincaid Dave Kincaid
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: