public class NameEvaluationErrorListener extends opennlp.tools.cmdline.EvaluationErrorPrinter<NameSample> implements TokenNameFinderEvaluationMonitor
EvaluationMonitor that prints
to an output stream.| Constructor and Description |
|---|
NameEvaluationErrorListener()
Creates a listener that will print to System.err
|
NameEvaluationErrorListener(OutputStream outputStream)
Creates a listener that will print to a given
OutputStream |
| Modifier and Type | Method and Description |
|---|---|
void |
missclassified(NameSample reference,
NameSample prediction) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcorrectlyClassifiedpublic NameEvaluationErrorListener()
public NameEvaluationErrorListener(OutputStream outputStream)
OutputStreampublic void missclassified(NameSample reference, NameSample prediction)
missclassified in interface EvaluationMonitor<NameSample>missclassified in class opennlp.tools.cmdline.EvaluationErrorPrinter<NameSample>Copyright © 2021 The Apache Software Foundation. All rights reserved.