# Uses of Class
opennlp.tools.doccat.DoccatModel

Packages that use DoccatModel
Package
Description
opennlp.tools.doccat

- ## 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, opennlp.tools.util.ObjectStream<opennlp.tools.doccat.DocumentSample> samples, opennlp.tools.util.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.