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