opennlp.tools.tokenize
Class TokenizerCrossValidator

java.lang.Object
  extended by opennlp.tools.tokenize.TokenizerCrossValidator

public class TokenizerCrossValidator
extends Object


Constructor Summary
TokenizerCrossValidator(String language, boolean alphaNumericOptimization)
           
TokenizerCrossValidator(String language, boolean alphaNumericOptimization, int cutoff, int iterations)
           
 
Method Summary
 void evaluate(ObjectStream<TokenSample> samples, int nFolds)
           
 FMeasure getFMeasure()
           
static void main(String[] args)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenizerCrossValidator

public TokenizerCrossValidator(String language,
                               boolean alphaNumericOptimization,
                               int cutoff,
                               int iterations)

TokenizerCrossValidator

public TokenizerCrossValidator(String language,
                               boolean alphaNumericOptimization)
Method Detail

evaluate

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

getFMeasure

public FMeasure getFMeasure()

main

@Deprecated
public static void main(String[] args)
                 throws IOException,
                        ObjectStreamException
Deprecated. 

Throws:
IOException
ObjectStreamException


Copyright © 2010. All Rights Reserved.