public class NameEvaluationErrorListener extends 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) |
correctlyClassified, printError, printError, printError
clone, equals, finalize, 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 EvaluationErrorPrinter<NameSample>
Copyright © 2015 The Apache Software Foundation. All rights reserved.