Package opennlp.tools.sentdetect

# Class SentenceDetectorEvaluator

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

public class SentenceDetectorEvaluator extends Evaluator<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(SentenceDetector sentenceDetector, SentenceDetectorEvaluationMonitor... listeners)`
  Initializes the current instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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(SentenceDetector sentenceDetector, 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 FMeasure getFMeasure()