opennlp.tools.sentdetect
Class SDCrossValidator

java.lang.Object
  extended by opennlp.tools.sentdetect.SDCrossValidator

public class SDCrossValidator
extends Object


Constructor Summary
SDCrossValidator(String languageCode)
           
SDCrossValidator(String languageCode, int cutoff, int iterations)
           
 
Method Summary
 void evaluate(ObjectStream<SentenceSample> 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

SDCrossValidator

public SDCrossValidator(String languageCode,
                        int cutoff,
                        int iterations)

SDCrossValidator

public SDCrossValidator(String languageCode)
Method Detail

evaluate

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

getFMeasure

public FMeasure getFMeasure()

main

@Deprecated
public static void main(String[] args)
                 throws Exception
Deprecated. 

Throws:
Exception


Copyright © 2010. All Rights Reserved.