## Uses of Class
opennlp.tools.doccat.DoccatFactory

- Packages that use DoccatFactory
  Package | Description
  --- | ---
  opennlp.tools.doccat | Package for classifying a document into a category.

- - ### Uses of DoccatFactory in opennlp.tools.doccat

    Methods in opennlp.tools.doccat that return DoccatFactory
    Modifier and Type | Method and Description
    --- | ---
    `static DoccatFactory` | DoccatFactory.`create(String subclassName, FeatureGenerator[] featureGenerators)`
    `DoccatFactory` | DoccatModel.`getFactory()`

    Methods in opennlp.tools.doccat with parameters of type DoccatFactory
    Modifier and Type | Method and Description
    --- | ---
    `static DoccatModel` | DocumentCategorizerME.`train(String languageCode, ObjectStream<DocumentSample> samples, TrainingParameters mlParams, DoccatFactory factory)`

    Constructors in opennlp.tools.doccat with parameters of type DoccatFactory
    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 © 2026 The Apache Software Foundation. All rights reserved.