Package opennlp.tools.namefind
Class TokenNameFinderEvaluator
- java.lang.Object
-
- opennlp.tools.util.eval.Evaluator<NameSample>
-
- opennlp.tools.namefind.TokenNameFinderEvaluator
-
public class TokenNameFinderEvaluator extends Evaluator<NameSample>
TheTokenNameFinderEvaluator
measures the performance of the givenTokenNameFinder
with the provided referenceNameSample
s.- See Also:
Evaluator
,TokenNameFinder
,NameSample
-
-
Constructor Summary
Constructors Constructor Description TokenNameFinderEvaluator(TokenNameFinder nameFinder, TokenNameFinderEvaluationMonitor... listeners)
Initializes the current instance with the givenTokenNameFinder
.
-
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
-
TokenNameFinderEvaluator
public TokenNameFinderEvaluator(TokenNameFinder nameFinder, TokenNameFinderEvaluationMonitor... listeners)
Initializes the current instance with the givenTokenNameFinder
.- Parameters:
nameFinder
- theTokenNameFinder
to evaluate.listeners
- evaluation sample listeners
-
-
Method Detail
-
getFMeasure
public FMeasure getFMeasure()
-
-