# Uses of Class
opennlp.tools.tokenize.TokenizerModel

Packages that use TokenizerModel
Package
Description
opennlp.tools.tokenize

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

  Methods in opennlp.tools.tokenize that return TokenizerModel
  Modifier and Type
  Method
  Description
  `static TokenizerModel`
  TokenizerME.`train(opennlp.tools.util.ObjectStream<opennlp.tools.tokenize.TokenSample> samples, TokenizerFactory factory, opennlp.tools.util.TrainingParameters mlParams)`
  Trains a model for the `TokenizerME`.
  Constructors in opennlp.tools.tokenize with parameters of type TokenizerModel
  Modifier
  Constructor
  Description
  ``
  `ThreadSafeTokenizerME(TokenizerModel model)`
  Deprecated.
  Initializes a `ThreadSafeTokenizerME` with the specified `model`.
  ``
  `ThreadSafeTokenizerME(TokenizerModel model, Dictionary abbDict)`
  Deprecated.
  Instantiates a `ThreadSafeTokenizerME` with an existing `TokenizerModel`.
  ``
  `TokenizerME(TokenizerModel model)`
  Instantiates a `TokenizerME` with an existing `TokenizerModel`.
  ``
  `TokenizerME(TokenizerModel model, Dictionary abbDict)`
  Instantiates a `TokenizerME` with an existing `TokenizerModel`.