public class POSEvaluationErrorListener extends EvaluationErrorPrinter<POSSample> implements POSTaggerEvaluationMonitor
EvaluationMonitor
that prints
to an output stream.Constructor and Description |
---|
POSEvaluationErrorListener()
Creates a listener that will print to System.err
|
POSEvaluationErrorListener(OutputStream outputStream)
Creates a listener that will print to a given
OutputStream |
Modifier and Type | Method and Description |
---|---|
void |
missclassified(POSSample reference,
POSSample prediction) |
correctlyClassified, printError, printError, printError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
correctlyClassified
public POSEvaluationErrorListener()
public POSEvaluationErrorListener(OutputStream outputStream)
OutputStream
public void missclassified(POSSample reference, POSSample prediction)
missclassified
in interface EvaluationMonitor<POSSample>
missclassified
in class EvaluationErrorPrinter<POSSample>
Copyright © 2017 The Apache Software Foundation. All rights reserved.