public class POSEvaluationErrorListener extends opennlp.tools.cmdline.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) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcorrectlyClassifiedpublic POSEvaluationErrorListener()
public POSEvaluationErrorListener(OutputStream outputStream)
OutputStreampublic void missclassified(POSSample reference, POSSample prediction)
missclassified in interface EvaluationMonitor<POSSample>missclassified in class opennlp.tools.cmdline.EvaluationErrorPrinter<POSSample>Copyright © 2020 The Apache Software Foundation. All rights reserved.