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