Package opennlp.tools.tokenize
Class DetokenizerEvaluator
- java.lang.Object
-
- opennlp.tools.util.eval.Evaluator<TokenSample>
-
- opennlp.tools.tokenize.DetokenizerEvaluator
-
public class DetokenizerEvaluator extends Evaluator<TokenSample>
TheDetokenizerEvaluator
measures the performance of the givenDetokenizer
with the provided referencesamples
.- See Also:
Detokenizer
,TokenSample
-
-
Constructor Summary
Constructors Constructor Description DetokenizerEvaluator(Detokenizer detokenizer, DetokenEvaluationErrorListener... listeners)
Initializes the current instance with the givenDetokenizer
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FMeasure
getFMeasure()
-
Methods inherited from class opennlp.tools.util.eval.Evaluator
evaluate, evaluateSample
-
-
-
-
Constructor Detail
-
DetokenizerEvaluator
public DetokenizerEvaluator(Detokenizer detokenizer, DetokenEvaluationErrorListener... listeners)
Initializes the current instance with the givenDetokenizer
.- Parameters:
detokenizer
- TheDetokenizer
to evaluate.listeners
- Theevaluation sample listeners
.
-
-
Method Detail
-
getFMeasure
public FMeasure getFMeasure()
-
-