You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (JIRA)" <ji...@apache.org> on 2016/12/26 12:52:58 UTC

[jira] [Updated] (OPENNLP-845) Evaluator.evaluateSample() sends the wrong argument to listener.correctlyClassified()

     [ https://issues.apache.org/jira/browse/OPENNLP-845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joern Kottmann updated OPENNLP-845:
-----------------------------------
    Fix Version/s: 1.7.0

> 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
>             Fix For: 1.7.0
>
>
> 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)