opennlp.tools.namefind
Class TokenNameFinderCrossValidator

java.lang.Object
  extended by opennlp.tools.namefind.TokenNameFinderCrossValidator

public class TokenNameFinderCrossValidator
extends Object


Constructor Summary
TokenNameFinderCrossValidator(String languageCode, int cutoff, int iterations)
           
 
Method Summary
 void evaluate(ObjectStream<NameSample> samples, int nFolds)
           
 FMeasure getFMeasure()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenNameFinderCrossValidator

public TokenNameFinderCrossValidator(String languageCode,
                                     int cutoff,
                                     int iterations)
Method Detail

evaluate

public void evaluate(ObjectStream<NameSample> samples,
                     int nFolds)
              throws IOException,
                     InvalidFormatException,
                     IOException
Throws:
IOException
InvalidFormatException

getFMeasure

public FMeasure getFMeasure()


Copyright © 2010. All Rights Reserved.