opennlp.tools.chunker
Class ChunkerCrossValidator

java.lang.Object
  extended by opennlp.tools.chunker.ChunkerCrossValidator

public class ChunkerCrossValidator
extends java.lang.Object


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

Constructor Detail

ChunkerCrossValidator

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

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.