public class SentenceDetectorEvaluator extends Evaluator<SentenceSample>
SentenceDetectorEvaluator
measures the performance of
the given SentenceDetector
with the provided reference
SentenceSample
s.Evaluator
,
SentenceDetector
,
SentenceSample
Constructor and Description |
---|
SentenceDetectorEvaluator(SentenceDetector sentenceDetector,
SentenceDetectorEvaluationMonitor... listeners)
Initializes the current instance.
|
Modifier and Type | Method and Description |
---|---|
FMeasure |
getFMeasure() |
evaluate, evaluateSample
public SentenceDetectorEvaluator(SentenceDetector sentenceDetector, SentenceDetectorEvaluationMonitor... listeners)
sentenceDetector
- listeners
- evaluation sample listenerspublic FMeasure getFMeasure()
Copyright © 2020 The Apache Software Foundation. All rights reserved.