opennlp.tools.namefind
Class TokenNameFinderEvaluator
java.lang.Object
opennlp.tools.util.eval.Evaluator<NameSample>
opennlp.tools.namefind.TokenNameFinderEvaluator
public class TokenNameFinderEvaluator
- extends Evaluator<NameSample>
The TokenNameFinderEvaluator
measures the performance
of the given TokenNameFinder
with the provided
reference NameSample
s.
- See Also:
Evaluator
,
TokenNameFinder
,
NameSample
TokenNameFinderEvaluator
public TokenNameFinderEvaluator(TokenNameFinder nameFinder,
TokenNameFinderEvaluationMonitor... listeners)
- Initializes the current instance with the given
TokenNameFinder
.
- Parameters:
nameFinder
- the TokenNameFinder
to evaluate.listeners
- evaluation sample listeners
getFMeasure
public FMeasure getFMeasure()
main
@Deprecated
public static void main(String[] args)
throws IOException,
InvalidFormatException
- Deprecated.
- Throws:
IOException
InvalidFormatException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.