Package | Description |
---|---|
opennlp.tools.doccat |
Package for classifying a document into a category.
|
Modifier and Type | Method and Description |
---|---|
static DoccatFactory |
DoccatFactory.create(String subclassName,
FeatureGenerator[] featureGenerators) |
static DoccatFactory |
DoccatFactory.create(String subclassName,
Tokenizer tokenizer,
FeatureGenerator[] featureGenerators)
Deprecated.
will be removed after 1.7.1 release. Don't use it.
|
DoccatFactory |
DoccatModel.getFactory() |
Modifier and Type | Method and Description |
---|---|
static DoccatModel |
DocumentCategorizerME.train(String languageCode,
ObjectStream<DocumentSample> samples,
TrainingParameters mlParams,
DoccatFactory factory) |
Constructor and Description |
---|
DoccatCrossValidator(String languageCode,
TrainingParameters mlParams,
DoccatFactory factory,
DoccatEvaluationMonitor... listeners)
Creates a
DoccatCrossValidator with the given
FeatureGenerator s. |
DoccatModel(String languageCode,
MaxentModel doccatModel,
Map<String,String> manifestInfoEntries,
DoccatFactory factory) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.