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