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