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 referencesamples
.- See Also:
Evaluator
,TokenNameFinder
,NameSample
-
-
Constructor Summary
Constructors Constructor Description TokenNameFinderEvaluator(TokenNameFinder nameFinder, TokenNameFinderEvaluationMonitor... listeners)
Initializes aTokenNameFinderEvaluator
for a 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 aTokenNameFinderEvaluator
for a givenTokenNameFinder
.- Parameters:
nameFinder
- TheTokenNameFinder
to evaluate.listeners
- Theevaluation listeners
.
-
-
Method Detail
-
getFMeasure
public FMeasure getFMeasure()
-
-