# Uses of Interface
opennlp.tools.commons.Trainer

Packages that use Trainer
Package
Description
opennlp.tools.ml
Package related to Machine Learning (ML) features of OpenNLP, the related ML models, and trainers.
opennlp.tools.ml.maxent
Package related to ML by means of the Maximum Entropy (ME) algorithm.
opennlp.tools.ml.maxent.quasinewton
Package related to ML by means of the Quasi Newton (QN) algorithm.
opennlp.tools.ml.naivebayes
Package related to ML by means of the Naive Bayes algorithm.
opennlp.tools.ml.perceptron
Package related to ML by means of the perceptron algorithm.

- ## Uses of Trainer in opennlp.tools.ml

  Subinterfaces of Trainer in opennlp.tools.ml
  Modifier and Type
  Interface
  Description
  `interface`
  `EventModelSequenceTrainer<T>`
  A specialized `Trainer` that is based on a 'EventModelSequence' approach.
  `interface`
  `EventTrainer`
  A specialized `Trainer` that is based on an `Event` approach.
  `interface`
  `SequenceTrainer`
  Classes in opennlp.tools.ml that implement Trainer
  Modifier and Type
  Class
  Description
  `class`
  `AbstractEventModelSequenceTrainer`
  A basic `EventModelSequenceTrainer` implementation that processes `events`.
  `class`
  `AbstractEventTrainer`
  A basic `EventTrainer` implementation.
  `class`
  `AbstractTrainer`

- ## Uses of Trainer in opennlp.tools.ml.maxent

  Classes in opennlp.tools.ml.maxent that implement Trainer
  Modifier and Type
  Class
  Description
  `class`
  `GISTrainer`
  An implementation of Generalized Iterative Scaling (GIS).

- ## Uses of Trainer in opennlp.tools.ml.maxent.quasinewton

  Classes in opennlp.tools.ml.maxent.quasinewton that implement Trainer
  Modifier and Type
  Class
  Description
  `class`
  `QNTrainer`
  A Maxent model `Trainer` using L-BFGS algorithm.

- ## Uses of Trainer in opennlp.tools.ml.naivebayes

  Classes in opennlp.tools.ml.naivebayes that implement Trainer
  Modifier and Type
  Class
  Description
  `class`
  `NaiveBayesTrainer`
  Trains `models` using the combination of EM algorithm and Naive Bayes classifier which is described in:

- ## Uses of Trainer in opennlp.tools.ml.perceptron

  Classes in opennlp.tools.ml.perceptron that implement Trainer
  Modifier and Type
  Class
  Description
  `class`
  `PerceptronTrainer`
  Trains `models` using the perceptron algorithm.
  `class`
  `SimplePerceptronSequenceTrainer`
  Trains `models` with sequences using the perceptron algorithm.