[ 
https://issues.apache.org/jira/browse/OPENNLP-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085913#comment-13085913
 ] 

Jörn Kottmann commented on OPENNLP-226:
---------------------------------------

Lets look at the name fidner again. In the 
TokenNameFinderEvalutator.evaluateSample method we construct a NameSample 
object for the prediction, the gold/reference one already exists.

A simple equals should now be able to figure out if there is a difference 
between the two, if so, it must be because of a mistake, and then we call the 
listener interfaces misclassified method.

> Evaluators should allow tools to register a misclassified report interface
> --------------------------------------------------------------------------
>
>                 Key: OPENNLP-226
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-226
>             Project: OpenNLP
>          Issue Type: New Feature
>          Components: Chunker, Command Line Interface, Name Finder, POS 
> Tagger, Sentence Detector, Tokenizer
>    Affects Versions: tools-1.5.2-incubating
>            Reporter: William Colen
>            Assignee: William Colen
>            Priority: Minor
>             Fix For: tools-1.5.2-incubating
>
>
> OPENNLP-220 introduced the -misclassified argument that enables evaluators to 
> print misclassified items while using the command line evaluators. We should 
> expand it to allow any other tool that uses evaluators to register an 
> interface to get that information.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to