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