Uses of Class
opennlp.tools.doccat.DocumentSample

Packages that use DocumentSample
opennlp.tools.doccat Package for classifying a document into a category. 
opennlp.tools.formats Experimental package related to converting various corpora to OpenNLP Format. 
 

Uses of DocumentSample in opennlp.tools.doccat
 

Methods in opennlp.tools.doccat that return DocumentSample
 DocumentSample DocumentSampleStream.read()
           
 

Methods in opennlp.tools.doccat with parameters of type DocumentSample
protected  Iterator<opennlp.model.Event> DocumentCategorizerEventStream.createEvents(DocumentSample sample)
           
 void DocumentCategorizerEvaluator.evaluteSample(DocumentSample sample)
          Evaluates the given reference DocumentSample object.
 

Method parameters in opennlp.tools.doccat with type arguments of type DocumentSample
 void DocumentCategorizerEvaluator.evaluate(Iterator<DocumentSample> samples)
          Reads all DocumentSample objects from the stream and evaluates each DocumentSample object with DocumentCategorizerEvaluator.evaluteSample(DocumentSample) method.
static DoccatModel DocumentCategorizerME.train(String languageCode, ObjectStream<DocumentSample> samples)
          Trains a doccat model with default feature generation.
static DoccatModel DocumentCategorizerME.train(String languageCode, ObjectStream<DocumentSample> samples, int cutoff, int iterations)
          Trains a doccat model with default feature generation.
static DoccatModel DocumentCategorizerME.train(String languageCode, ObjectStream<DocumentSample> samples, int cutoff, int iterations, FeatureGenerator... featureGenerators)
          Trains a document categorizer model with custom feature generation.
static DoccatModel DocumentCategorizerME.train(String languageCode, ObjectStream<DocumentSample> samples, TrainingParameters mlParams, FeatureGenerator... featureGenerators)
           
 

Constructor parameters in opennlp.tools.doccat with type arguments of type DocumentSample
DocumentCategorizerEventStream(ObjectStream<DocumentSample> samples)
          Initializes the current instance.
DocumentCategorizerEventStream(ObjectStream<DocumentSample> data, FeatureGenerator... featureGenerators)
          Initializes the current instance.
 

Uses of DocumentSample in opennlp.tools.formats
 

Methods in opennlp.tools.formats that return DocumentSample
 DocumentSample LeipzigDoccatSampleStream.read()
           
 

Methods in opennlp.tools.formats that return types with arguments of type DocumentSample
 ObjectStream<DocumentSample> LeipzigDocumentSampleStreamFactory.create(String[] args)
           
 ObjectStream<DocumentSample> DocumentSampleStreamFactory.create(String[] args)
           
 



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.