|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DocumentSample | |
---|---|
opennlp.tools.doccat | Package for classifying a document into a category. |
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
#evaluateSample(POSSample) 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,
FeatureGenerator... featureGenerators)
Trains a document categorizer model with custom feature generation. |
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |