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, wait
correctlyClassified
public NameEvaluationErrorListener()
public NameEvaluationErrorListener(OutputStream outputStream)
OutputStream
public void missclassified(NameSample reference, NameSample prediction)
missclassified
in interface EvaluationMonitor<NameSample>
missclassified
in class opennlp.tools.cmdline.EvaluationErrorPrinter<NameSample>
Copyright © 2020 The Apache Software Foundation. All rights reserved.