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>
TheTokenNameFinderEvaluatormeasures the performance of the givenTokenNameFinderwith the provided referenceNameSamples.- 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 FMeasuregetFMeasure()static voidmain(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- theTokenNameFinderto 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, InvalidFormatExceptionDeprecated.- Throws:
java.io.IOExceptionInvalidFormatException
-
-