# Uses of Enum Class
opennlp.tools.ml.TrainerFactory.TrainerType

Packages that use TrainerFactory.TrainerType
Package
Description
opennlp.tools.ml
Package related to Machine Learning (ML) features of OpenNLP, the related ML models, and trainers.

- ## Uses of TrainerFactory.TrainerType in opennlp.tools.ml

  Methods in opennlp.tools.ml that return TrainerFactory.TrainerType
  Modifier and Type
  Method
  Description
  `static TrainerFactory.TrainerType`
  TrainerFactory.`getTrainerType(TrainingParameters trainParams)`
  Determines the `TrainerFactory.TrainerType` based on the `TrainingParameters.ALGORITHM_PARAM` value.
  `static TrainerFactory.TrainerType`
  TrainerFactory.TrainerType.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static TrainerFactory.TrainerType[]`
  TrainerFactory.TrainerType.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.