# Uses of Class
opennlp.tools.tokenize.BPEModel

Packages that use BPEModel
Package
Description
opennlp.tools.tokenize

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

  Methods in opennlp.tools.tokenize that return BPEModel
  Modifier and Type
  Method
  Description
  `BPEModel`
  BPETokenizerTrainer.`train(Iterable<String> corpus, int numMerges, String languageCode)`
  Learns BPE merge operations from a training corpus and returns a `BPEModel`.
  Constructors in opennlp.tools.tokenize with parameters of type BPEModel
  Modifier
  Constructor
  Description
  ``
  `BPETokenizer(BPEModel model)`
  Initializes a `BPETokenizer` from a trained `BPEModel`.