Package | Description |
---|---|
opennlp.tools.doccat |
Package for classifying a document into a category.
|
Modifier and Type | Method and Description |
---|---|
static DoccatModel |
DocumentCategorizerME.train(String languageCode,
ObjectStream<DocumentSample> samples,
TrainingParameters mlParams,
DoccatFactory factory) |
Constructor and Description |
---|
DocumentCategorizerME(DoccatModel model)
Initializes the current instance with a doccat model.
|
DocumentCategorizerME(DoccatModel model,
FeatureGenerator... featureGenerators)
Deprecated.
train a
DoccatModel with a specific
DoccatFactory to customize the FeatureGenerator s |
Copyright © 2017 The Apache Software Foundation. All rights reserved.