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