public class TokenizerEvaluator extends Evaluator<TokenSample>
TokenizerEvaluator
measures the performance of
the given Tokenizer
with the provided reference
TokenSample
s.Evaluator
,
Tokenizer
,
TokenSample
Constructor and Description |
---|
TokenizerEvaluator(Tokenizer tokenizer,
TokenizerEvaluationMonitor... listeners)
Initializes the current instance with the
given
Tokenizer . |
public TokenizerEvaluator(Tokenizer tokenizer, TokenizerEvaluationMonitor... listeners)
Tokenizer
.tokenizer
- the Tokenizer
to evaluate.listeners
- evaluation sample listenerspublic FMeasure getFMeasure()
Copyright © 2015 The Apache Software Foundation. All rights reserved.