# Uses of Class
opennlp.tools.ml.model.Event

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

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

  Method parameters in opennlp.tools.ml with type arguments of type Event
  Modifier and Type
  Method
  Description
  `MaxentModel`
  EventTrainer.`train(ObjectStream<Event> events)`
  Trains a `MaxentModel` for given `events`.

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

  Methods in opennlp.tools.ml.model that return Event
  Modifier and Type
  Method
  Description
  `Event[]`
  Sequence.`getEvents()`
  `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`.
  Method parameters in opennlp.tools.ml.model with type arguments of type Event
  Modifier and Type
  Method
  Description
  `void`
  DataIndexer.`index(ObjectStream<Event> eventStream)`
  Performs the data indexing.
  Constructors in opennlp.tools.ml.model with parameters of type Event
  Modifier
  Constructor
  Description
  ``
  `Sequence(Event[] events, T source)`
  Initializes `Sequence` made up of the specified events and derived from the specified source.