Package opennlp.tools.sentdetect
Class SentenceDetectorEvaluator
java.lang.Object
opennlp.tools.util.eval.Evaluator<SentenceSample>
opennlp.tools.sentdetect.SentenceDetectorEvaluator
The
SentenceDetectorEvaluator
measures the performance of
the given SentenceDetector
with the provided reference
SentenceSample
s.- See Also:
-
Constructor Summary
ConstructorDescriptionSentenceDetectorEvaluator
(SentenceDetector sentenceDetector, SentenceDetectorEvaluationMonitor... listeners) Initializes the current instance. -
Method Summary
Methods inherited from class opennlp.tools.util.eval.Evaluator
evaluate, evaluateSample
-
Constructor Details
-
SentenceDetectorEvaluator
public SentenceDetectorEvaluator(SentenceDetector sentenceDetector, SentenceDetectorEvaluationMonitor... listeners) Initializes the current instance.- Parameters:
sentenceDetector
- TheSentenceDetector
to be used for predicting sentences.listeners
- Theevaluation sample listeners
.
-
-
Method Details
-
getFMeasure
-