Uses of Class opennlp.tools.doccat.DoccatFactory (Apache OpenNLP Tools 2.5.9 API)
Description: use: package: opennlp.tools.doccat, class: DoccatFactory

# 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
  Description
  `static DoccatFactory`
  DoccatFactory.`create(String subclassName, 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, 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 DoccatFactory
  Modifier
  Constructor
  Description
  ``
  `DoccatCrossValidator(String languageCode, TrainingParameters mlParams, DoccatFactory factory, DoccatEvaluationMonitor... listeners)`
  Instantiates a `DoccatCrossValidator` with the given `generators`.
  ``
  `DoccatModel(String languageCode, MaxentModel doccatModel, Map<String,String> manifestInfoEntries, DoccatFactory factory)`
  Initializes a `DoccatModel` instance via given parameters.