Uses of Class opennlp.tools.doccat.DoccatModel (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

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

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

- - ### Uses of DoccatModel in opennlp.tools.cmdline.doccat

    Methods in opennlp.tools.cmdline.doccat that return DoccatModel
    Modifier and Type | Method and Description
    --- | ---
    `protected DoccatModel` | DoccatModelLoader.`loadModel(InputStream modelIn)`

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

    Methods in opennlp.tools.doccat that return DoccatModel
    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 DoccatModel
    Constructor and Description
    `DocumentCategorizerME(DoccatModel model)` Initializes the current instance with a doccat model.

Copyright © 2026 The Apache Software Foundation. All rights reserved.