Class LanguageDetectorEvaluationErrorListener

java.lang.Object
opennlp.tools.cmdline.EvaluationErrorPrinter<LanguageSample>
opennlp.tools.cmdline.langdetect.LanguageDetectorEvaluationErrorListener
All Implemented Interfaces:
LanguageDetectorEvaluationMonitor, EvaluationMonitor<LanguageSample>

public class LanguageDetectorEvaluationErrorListener extends opennlp.tools.cmdline.EvaluationErrorPrinter<LanguageSample> implements LanguageDetectorEvaluationMonitor
A default implementation of EvaluationMonitor that prints to an output stream.
  • Constructor Details

    • LanguageDetectorEvaluationErrorListener

      public LanguageDetectorEvaluationErrorListener()
      Creates a listener that will print to the configured logger.
    • LanguageDetectorEvaluationErrorListener

      public LanguageDetectorEvaluationErrorListener(OutputStream outputStream)
      Creates a listener that will print to a given OutputStream
  • Method Details