opennlp.tools.namefind
Class TokenNameFinderEvaluator

java.lang.Object
  extended by opennlp.tools.util.eval.Evaluator<NameSample>
      extended by opennlp.tools.namefind.TokenNameFinderEvaluator

public class TokenNameFinderEvaluator
extends Evaluator<NameSample>

The TokenNameFinderEvaluator measures the performance of the given TokenNameFinder with the provided reference NameSamples.

See Also:
Evaluator, TokenNameFinder, NameSample

Constructor Summary
TokenNameFinderEvaluator(TokenNameFinder nameFinder, TokenNameFinderEvaluationMonitor... listeners)
          Initializes the current instance with the given TokenNameFinder.
 
Method Summary
 FMeasure getFMeasure()
           
static void main(String[] args)
          Deprecated. 
 
Methods inherited from class opennlp.tools.util.eval.Evaluator
evaluate, evaluateSample
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.