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