opennlp.tools.chunker
Class ChunkerCrossValidator
java.lang.Object
opennlp.tools.chunker.ChunkerCrossValidator
public class ChunkerCrossValidator
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChunkerCrossValidator
public ChunkerCrossValidator(java.lang.String languageCode,
int cutoff,
int iterations)
evaluate
public void evaluate(ObjectStream<ChunkSample> 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.