opennlp.tools.namefind
Class TokenNameFinderCrossValidator

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

public class TokenNameFinderCrossValidator
extends java.lang.Object


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

Constructor Detail

TokenNameFinderCrossValidator

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

evaluate

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

getFMeasure

public FMeasure getFMeasure()


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.