Class SentenceEvaluationErrorListener

java.lang.Object
opennlp.tools.cmdline.EvaluationErrorPrinter<SentenceSample>
opennlp.tools.cmdline.sentdetect.SentenceEvaluationErrorListener
All Implemented Interfaces:
SentenceDetectorEvaluationMonitor, EvaluationMonitor<SentenceSample>

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

    • SentenceEvaluationErrorListener

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

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