opennlp.tools.cmdline.namefind
Class NameEvaluationErrorListener
java.lang.Object
opennlp.tools.cmdline.EvaluationErrorPrinter<NameSample>
opennlp.tools.cmdline.namefind.NameEvaluationErrorListener
- All Implemented Interfaces:
- TokenNameFinderEvaluationMonitor, EvaluationMonitor<NameSample>
public class NameEvaluationErrorListener
- extends EvaluationErrorPrinter<NameSample>
- implements TokenNameFinderEvaluationMonitor
A default implementation of EvaluationMonitor
that prints
to an output stream.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameEvaluationErrorListener
public NameEvaluationErrorListener()
- Creates a listener that will print to System.err
NameEvaluationErrorListener
public NameEvaluationErrorListener(OutputStream outputStream)
- Creates a listener that will print to a given
OutputStream
missclassified
public void missclassified(NameSample reference,
NameSample prediction)
- Specified by:
missclassified
in interface EvaluationMonitor<NameSample>
- Specified by:
missclassified
in class EvaluationErrorPrinter<NameSample>
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.