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

[jira] [Resolved] (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 ]

Suneel Marthi resolved OPENNLP-845.
-----------------------------------
    Resolution: Fixed

> 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
>            Assignee: Suneel Marthi
>             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)