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

William Colen commented on OPENNLP-226:
---------------------------------------

I will do it now. It should be easy. If we don't do that now we will have to 
deprecate the Evaluator constructor that takes the boolean printErrors in the 
future.

I will add the interface opennlp.tools.util.eval.EvaluationMonitor that has the 
method:
void printMissclassified(String)

I will create the default implementation 
opennlp.tools.util.eval.DefaultEvaluationMonitor (or should it go in cmdline 
package?)

Also will replace the Evaluator constructor that takes the boolean printErrors 
with one that takes an EvaluationMonitor.

> 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