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