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 Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FMeasure
getFMeasure()
static void
main(java.lang.String[] args)
Deprecated.-
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()
-
main
@Deprecated public static void main(java.lang.String[] args) throws java.io.IOException, InvalidFormatException
Deprecated.- Throws:
java.io.IOException
InvalidFormatException
-
-