public class SentenceEvaluationErrorListener extends 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) |
correctlyClassified, printError, printError, printError, printError, printErrorclone, equals, finalize, 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 EvaluationErrorPrinter<SentenceSample>Copyright © 2015 The Apache Software Foundation. All rights reserved.