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.
|
public SentenceDetectorEvaluator(SentenceDetector sentenceDetector, SentenceDetectorEvaluationMonitor... listeners)
sentenceDetector
- listeners
- evaluation sample listenerspublic FMeasure getFMeasure()
Copyright © 2015 The Apache Software Foundation. All rights reserved.