# Uses of Interface
opennlp.tools.ml.model.MaxentModel

Packages that use MaxentModel
Package
Description
opennlp.tools.ml
opennlp.tools.ml.model

- ## Uses of MaxentModel in opennlp.tools.ml

  Methods in opennlp.tools.ml that return MaxentModel
  Modifier and Type
  Method
  Description
  `MaxentModel`
  EventModelSequenceTrainer.`train(SequenceStream<T> events)`
  Trains a `MaxentModel` for given `events`.
  `MaxentModel`
  EventTrainer.`train(DataIndexer<P> indexer)`
  Trains a `MaxentModel` for given `events`.
  `MaxentModel`
  EventTrainer.`train(ObjectStream<Event> events)`
  Trains a `MaxentModel` for given `events`.

- ## Uses of MaxentModel in opennlp.tools.ml.model

  Methods in opennlp.tools.ml.model with parameters of type MaxentModel
  Modifier and Type
  Method
  Description
  `Event[]`
  SequenceStream.`updateContext(Sequence<S> sequence, MaxentModel model)`
  Creates a new event array based on the outcomes predicted by the specified parameters for the specified `Sequence`.