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