|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FeatureGenerator | |
---|---|
opennlp.tools.doccat | Package for classifying a document into a category. |
Uses of FeatureGenerator in opennlp.tools.doccat |
---|
Classes in opennlp.tools.doccat that implement FeatureGenerator | |
---|---|
class |
BagOfWordsFeatureGenerator
Generates a feature for each word in a document. |
class |
NGramFeatureGenerator
|
Methods in opennlp.tools.doccat with parameters of type FeatureGenerator | |
---|---|
static DoccatModel |
DocumentCategorizerME.train(String languageCode,
ObjectStream<DocumentSample> samples,
int cutoff,
int iterations,
FeatureGenerator... featureGenerators)
Trains a document categorizer model with custom feature generation. |
Constructors in opennlp.tools.doccat with parameters of type FeatureGenerator | |
---|---|
DocumentCategorizerEventStream(ObjectStream<DocumentSample> data,
FeatureGenerator... featureGenerators)
Initializes the current instance. |
|
DocumentCategorizerME(DoccatModel model,
FeatureGenerator... featureGenerators)
Initializes a the current instance with a doccat model and custom feature generation. |
|
DocumentCategorizerME(opennlp.model.MaxentModel model,
FeatureGenerator... featureGenerators)
Deprecated. Use DocumentCategorizerME.DocumentCategorizerME(DoccatModel, FeatureGenerator...) instead. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |