Dave Kincaid created OPENNLP-845:
------------------------------------
Summary: Evaluator.evaluateSample() sends the wrong argument to
listener.correctlyClassified()
Key: OPENNLP-845
URL: https://issues.apache.org/jira/browse/OPENNLP-845
Project: OpenNLP
Issue Type: Bug
Reporter: Dave Kincaid
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)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)