Package opennlp.tools.sentdetect

# Class SentenceDetectorEvaluator

java.lang.Object
opennlp.tools.util.eval.Evaluator<opennlp.tools.sentdetect.SentenceSample>
opennlp.tools.sentdetect.SentenceDetectorEvaluator

public class SentenceDetectorEvaluator extends Evaluator<opennlp.tools.sentdetect.SentenceSample>
The `SentenceDetectorEvaluator` measures the performance of the given `SentenceDetector` with the provided reference `SentenceSample`s.

See Also:
  - `Evaluator`
  - `SentenceDetector`
  - `SentenceSample`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SentenceDetectorEvaluator(opennlp.tools.sentdetect.SentenceDetector sentenceDetector, opennlp.tools.sentdetect.SentenceDetectorEvaluationMonitor... listeners)`
  Initializes the current instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `opennlp.tools.util.eval.FMeasure`
  `getFMeasure()`

  ### Methods inherited from class opennlp.tools.util.eval.Evaluator

  `evaluate, evaluateSample`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SentenceDetectorEvaluator

    public SentenceDetectorEvaluator(opennlp.tools.sentdetect.SentenceDetector sentenceDetector, opennlp.tools.sentdetect.SentenceDetectorEvaluationMonitor... listeners)
    Initializes the current instance.
    Parameters:
      `sentenceDetector` - The `SentenceDetector` to be used for predicting sentences.
      `listeners` - The `evaluation sample listeners`.

- ## Method Details

  - ### getFMeasure

    public opennlp.tools.util.eval.FMeasure getFMeasure()