# Uses of Enum Class
opennlp.tools.models.ModelType

Packages that use ModelType
Package
Description
opennlp.tools.models
opennlp.tools.util
Package containing utility data structures and algorithms used by multiple other packages.

- ## Uses of ModelType in opennlp.tools.models

  Methods in opennlp.tools.models that return ModelType
  Modifier and Type
  Method
  Description
  `static ModelType`
  ModelType.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static ModelType[]`
  ModelType.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

- ## Uses of ModelType in opennlp.tools.util

  Methods in opennlp.tools.util that return types with arguments of type ModelType
  Modifier and Type
  Method
  Description
  `static Map<String,Map<ModelType,String>>`
  DownloadUtil.`getAvailableModels()`
  Methods in opennlp.tools.util with parameters of type ModelType
  Modifier and Type
  Method
  Description
  `static <T extends BaseModel>
  T`
  DownloadUtil.`downloadModel(String language, ModelType modelType, Class<T> type)`
  Triggers a download for the specified `ModelType`.