Package opennlp.tools.tokenize
Class TokenizerEvaluator
The
TokenizerEvaluator
measures the performance of
the given Tokenizer
with the provided reference
samples
.- See Also:
-
Constructor Summary
ConstructorDescriptionTokenizerEvaluator
(Tokenizer tokenizer, TokenizerEvaluationMonitor... listeners) Initializes an instance to evaluate aTokenizer
. -
Method Summary
Methods inherited from class opennlp.tools.util.eval.Evaluator
evaluate, evaluateSample
-
Constructor Details
-
TokenizerEvaluator
Initializes an instance to evaluate aTokenizer
.- Parameters:
tokenizer
- TheTokenizer
to evaluate.listeners
- Theevaluation listeners
.
-
-
Method Details
-
getFMeasure
-