# 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
  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
  Description
  `static DoccatModel`
  DocumentCategorizerME.`train(String lang, ObjectStream<DocumentSample> samples, TrainingParameters mlParams, DoccatFactory factory)`
  Starts a training of a `DoccatModel` with the given parameters.
  Constructors in opennlp.tools.doccat with parameters of type DoccatModel
  Modifier
  Constructor
  Description
  ``
  `DocumentCategorizerME(DoccatModel model)`
  Initializes a `DocumentCategorizerME` instance with a doccat model.