# Uses of Class
opennlp.tools.util.model.BaseModel

Packages that use BaseModel
Package
Description
opennlp.tools.chunker
opennlp.tools.doccat
opennlp.tools.langdetect
opennlp.tools.lemmatizer
opennlp.tools.namefind
opennlp.tools.parser
opennlp.tools.postag
opennlp.tools.sentdetect
opennlp.tools.sentiment
opennlp.tools.tokenize
opennlp.tools.util
opennlp.tools.util.model

- ## Uses of BaseModel in opennlp.tools.chunker

  Subclasses of BaseModel in opennlp.tools.chunker
  Modifier and Type
  Class
  Description
  `class`
  `ChunkerModel`
  The `ChunkerModel` is the model used by a learnable `Chunker`.

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

  Subclasses of BaseModel in opennlp.tools.doccat
  Modifier and Type
  Class
  Description
  `class`
  `DoccatModel`
  A model for document categorization

- ## Uses of BaseModel in opennlp.tools.langdetect

  Subclasses of BaseModel in opennlp.tools.langdetect
  Modifier and Type
  Class
  Description
  `class`
  `LanguageDetectorModel`
  The `LanguageDetectorModel` is the model used by a learnable `LanguageDetector`.

- ## Uses of BaseModel in opennlp.tools.lemmatizer

  Subclasses of BaseModel in opennlp.tools.lemmatizer
  Modifier and Type
  Class
  Description
  `class`
  `LemmatizerModel`
  The `LemmatizerModel` is the model used by a learnable `Lemmatizer`.

- ## Uses of BaseModel in opennlp.tools.namefind

  Subclasses of BaseModel in opennlp.tools.namefind
  Modifier and Type
  Class
  Description
  `class`
  `TokenNameFinderModel`
  The `TokenNameFinderModel` is the model used by a learnable `TokenNameFinder`.

- ## Uses of BaseModel in opennlp.tools.parser

  Subclasses of BaseModel in opennlp.tools.parser
  Modifier and Type
  Class
  Description
  `class`
  `ParserModel`
  This is the default `ParserModel` implementation.

- ## Uses of BaseModel in opennlp.tools.postag

  Subclasses of BaseModel in opennlp.tools.postag
  Modifier and Type
  Class
  Description
  `final class`
  `POSModel`
  The `POSModel` is the model used by a learnable `POSTagger`.

- ## Uses of BaseModel in opennlp.tools.sentdetect

  Subclasses of BaseModel in opennlp.tools.sentdetect
  Modifier and Type
  Class
  Description
  `class`
  `SentenceModel`
  The `SentenceModel` is the model used by a learnable `SentenceDetector`.

- ## Uses of BaseModel in opennlp.tools.sentiment

  Subclasses of BaseModel in opennlp.tools.sentiment
  Modifier and Type
  Class
  Description
  `class`
  `SentimentModel`
  Class for the basis of the Sentiment Analysis model.

- ## Uses of BaseModel in opennlp.tools.tokenize

  Subclasses of BaseModel in opennlp.tools.tokenize
  Modifier and Type
  Class
  Description
  `final class`
  `BPEModel`
  The `BPEModel` stores learned BPE merge operations and can be serialized and deserialized for reuse.
  `final class`
  `TokenizerModel`
  The `TokenizerModel` is the model used by a learnable `Tokenizer`.

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

  Methods in opennlp.tools.util with type parameters of type BaseModel
  Modifier and Type
  Method
  Description
  `static <T extends BaseModel>
  T`
  DownloadUtil.`downloadModel(String language, opennlp.tools.models.ModelType modelType, Class<T> type)`
  Triggers a download for the specified `ModelType`.
  `static <T extends BaseModel>
  T`
  DownloadUtil.`downloadModel(URL url, Class<T> type)`
  Downloads a model from a `URL`.

- ## Uses of BaseModel in opennlp.tools.util.model

  Methods in opennlp.tools.util.model with type parameters of type BaseModel
  Modifier and Type
  Method
  Description
  `static <T extends BaseModel>
  T`
  BaseModel.`deserialize(Class<T> modelClass, InputStream in)`
  Deserializes a `BaseModel` from the given `InputStream` using the standard `Serializable` mechanism, with `DESERIALIZE_FILTER` applied to reject any class outside the allowlist - including the top-level object itself.