opennlp.tools.tokenize
Class TokenizerCrossValidator
java.lang.Object
opennlp.tools.tokenize.TokenizerCrossValidator
public class TokenizerCrossValidator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenizerCrossValidator
public TokenizerCrossValidator(String language,
boolean alphaNumericOptimization,
int cutoff,
int iterations)
TokenizerCrossValidator
public TokenizerCrossValidator(String language,
boolean alphaNumericOptimization)
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.