public class DetokenizerEvaluator extends Evaluator<TokenSample>
DetokenizerEvaluator
measures the performance of
the given Detokenizer
with the provided reference
TokenSample
s.DetokenizerEvaluator
,
Detokenizer
,
TokenSample
Constructor and Description |
---|
DetokenizerEvaluator(Detokenizer detokenizer,
DetokenEvaluationErrorListener... listeners)
Initializes the current instance with the
given
Detokenizer . |
Modifier and Type | Method and Description |
---|---|
FMeasure |
getFMeasure() |
evaluate, evaluateSample
public DetokenizerEvaluator(Detokenizer detokenizer, DetokenEvaluationErrorListener... listeners)
Detokenizer
.detokenizer
- the Detokenizer
to evaluate.listeners
- evaluation sample listenerspublic FMeasure getFMeasure()
Copyright © 2020 The Apache Software Foundation. All rights reserved.