# Uses of Class
opennlp.tools.doccat.DoccatFactory

Packages that use DoccatFactory
Package
Description
opennlp.tools.doccat

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

  Methods in opennlp.tools.doccat that return DoccatFactory
  Modifier and Type
  Method
  Description
  `static DoccatFactory`
  DoccatFactory.`create(String subclassName, opennlp.tools.doccat.FeatureGenerator[] featureGenerators)`
  Factory method the framework uses create a new `DoccatFactory`.
  `DoccatFactory`
  DoccatModel.`getFactory()`
  Methods in opennlp.tools.doccat with parameters of type DoccatFactory
  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 DoccatFactory
  Modifier
  Constructor
  Description
  ``
  `DoccatCrossValidator(String languageCode, opennlp.tools.util.TrainingParameters mlParams, DoccatFactory factory, opennlp.tools.doccat.DoccatEvaluationMonitor... listeners)`
  Instantiates a `DoccatCrossValidator` with the given `generators`.
  ``
  `DoccatModel(String languageCode, opennlp.tools.ml.model.MaxentModel doccatModel, Map<String,String> manifestInfoEntries, DoccatFactory factory)`
  Initializes a `DoccatModel` instance via given parameters.