|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopennlp.tools.util.eval.Evaluator<SentenceSample>
opennlp.tools.sentdetect.SentenceDetectorEvaluator
public class SentenceDetectorEvaluator
The SentenceDetectorEvaluator
measures the performance of
the given SentenceDetector
with the provided reference
SentenceSample
s.
Evaluator
,
SentenceDetector
,
SentenceSample
Constructor Summary | |
---|---|
SentenceDetectorEvaluator(SentenceDetector sentenceDetector)
Initializes the current instance. |
Method Summary | |
---|---|
void |
evaluateSample(SentenceSample sample)
Evaluates the given reference object. |
FMeasure |
getFMeasure()
|
Methods inherited from class opennlp.tools.util.eval.Evaluator |
---|
evaluate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SentenceDetectorEvaluator(SentenceDetector sentenceDetector)
sentenceDetector
- Method Detail |
---|
public void evaluateSample(SentenceSample sample)
Evaluator
evaluateSample
in class Evaluator<SentenceSample>
sample
- the sample to be evaluatedpublic FMeasure getFMeasure()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |