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

Packages that use Event
Package
Description
opennlp.tools.chunker
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
opennlp.tools.doccat
Package for classifying a document into a category.
opennlp.tools.langdetect
Package related to predicting languages from samples of text.
opennlp.tools.lemmatizer
Package related to the lemmatizer functionality.
opennlp.tools.ml
Package related to Machine Learning (ML) features of OpenNLP, the related ML models, and trainers.
opennlp.tools.ml.maxent
Package related to ML by means of the Maximum Entropy (ME) algorithm.
opennlp.tools.ml.model
Package related to ML models and feature selection techniques.
opennlp.tools.ml.perceptron
Package related to ML by means of the perceptron algorithm.
opennlp.tools.namefind
Package related to finding proper names and numeric amounts.
opennlp.tools.parser
Package containing common code for performing full syntactic parsing.
opennlp.tools.parser.chunking
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
opennlp.tools.parser.treeinsert
Package containing experimental code for performing full syntactic parsing using attachment decisions.
opennlp.tools.postag
Package related to part-of-speech tagging.
opennlp.tools.sentdetect
Package related to identifying sentence boundaries.
opennlp.tools.tokenize
Contains classes related to finding token or words in a string.
opennlp.tools.util
Package containing utility data structures and algorithms used by multiple other packages.

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

  Methods in opennlp.tools.chunker that return Event
  Modifier and Type
  Method
  Description
  `Event[]`
  ChunkSampleSequenceStream.`updateContext(Sequence<ChunkSample> sequence, AbstractModel model)`
  Methods in opennlp.tools.chunker that return types with arguments of type Event
  Modifier and Type
  Method
  Description
  `protected Iterator<Event>`
  ChunkerEventStream.`createEvents(ChunkSample sample)`

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

  Methods in opennlp.tools.doccat that return types with arguments of type Event
  Modifier and Type
  Method
  Description
  `protected Iterator<Event>`
  DocumentCategorizerEventStream.`createEvents(DocumentSample sample)`

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

  Methods in opennlp.tools.langdetect that return types with arguments of type Event
  Modifier and Type
  Method
  Description
  `protected Iterator<Event>`
  LanguageDetectorEventStream.`createEvents(LanguageSample sample)`

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

  Methods in opennlp.tools.lemmatizer that return Event
  Modifier and Type
  Method
  Description
  `Event[]`
  LemmaSampleSequenceStream.`updateContext(Sequence<LemmaSample> sequence, AbstractModel model)`
  Methods in opennlp.tools.lemmatizer that return types with arguments of type Event
  Modifier and Type
  Method
  Description
  `protected Iterator<Event>`
  LemmaSampleEventStream.`createEvents(LemmaSample sample)`

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

  Method parameters in opennlp.tools.ml with type arguments of type Event
  Modifier and Type
  Method
  Description
  `abstract MaxentModel`
  AbstractEventModelSequenceTrainer.`doTrain(SequenceStream<Event> events)`
  `DataIndexer`
  AbstractEventTrainer.`getDataIndexer(ObjectStream<Event> events)`
  `final MaxentModel`
  AbstractEventModelSequenceTrainer.`train(SequenceStream<Event> events)`
  `final MaxentModel`
  AbstractEventTrainer.`train(ObjectStream<Event> events)`
  `MaxentModel`
  EventTrainer.`train(ObjectStream<Event> events)`
  Trains a `MaxentModel` for given `events`.

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

  Methods in opennlp.tools.ml.maxent that return Event
  Modifier and Type
  Method
  Description
  `Event`
  RealBasicEventStream.`read()`
  Method parameters in opennlp.tools.ml.maxent with type arguments of type Event
  Modifier and Type
  Method
  Description
  `GISModel`
  GISTrainer.`trainModel(ObjectStream<Event> eventStream)`
  Trains a model using the GIS algorithm, assuming 100 iterations and no cutoff.
  `GISModel`
  GISTrainer.`trainModel(ObjectStream<Event> eventStream, int iterations, int cutoff)`
  Trains a GIS model on the event in the specified event stream, using the specified number of iterations and the specified count cutoff.

- ## 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`
  FileEventStream.`read()`
  `Event`
  HashSumEventStream.`read()`
  `Event`
  RealValueFileEventStream.`read()`
  `Event`
  SequenceStreamEventStream.`read()`
  `Event[]`
  SequenceStream.`updateContext(Sequence<S> sequence, AbstractModel model)`
  Creates a new event array based on the outcomes predicted by the specified parameters for the specified `Sequence`.
  Methods in opennlp.tools.ml.model with parameters of type Event
  Modifier and Type
  Method
  Description
  `static String`
  FileEventStream.`toLine(Event event)`
  Generates a string representing the specified event.
  Method parameters in opennlp.tools.ml.model with type arguments of type Event
  Modifier and Type
  Method
  Description
  `protected List<ComparableEvent>`
  AbstractDataIndexer.`index(ObjectStream<Event> events, Map<String,Integer> predicateIndex)`
  Performs the data indexing.
  `void`
  DataIndexer.`index(ObjectStream<Event> eventStream)`
  Performs the data indexing.
  `void`
  OnePassDataIndexer.`index(ObjectStream<Event> eventStream)`
  Performs the data indexing.
  `void`
  TwoPassDataIndexer.`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.
  Constructor parameters in opennlp.tools.ml.model with type arguments of type Event
  Modifier
  Constructor
  Description
  ``
  `HashSumEventStream(ObjectStream<Event> eventStream)`
  ``
  `SequenceStreamEventStream(SequenceStream<Event> sequenceStream)`

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

  Method parameters in opennlp.tools.ml.perceptron with type arguments of type Event
  Modifier and Type
  Method
  Description
  `AbstractModel`
  SimplePerceptronSequenceTrainer.`doTrain(SequenceStream<Event> events)`
  `AbstractModel`
  SimplePerceptronSequenceTrainer.`trainModel(int iterations, SequenceStream<Event> sequenceStream, int cutoff, boolean useAverage)`
  Trains a `PerceptronModel` with given parameters.

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

  Methods in opennlp.tools.namefind that return Event
  Modifier and Type
  Method
  Description
  `Event[]`
  NameSampleSequenceStream.`updateContext(Sequence<NameSample> sequence, AbstractModel model)`
  Methods in opennlp.tools.namefind that return types with arguments of type Event
  Modifier and Type
  Method
  Description
  `protected Iterator<Event>`
  NameFinderEventStream.`createEvents(NameSample sample)`
  `static List<Event>`
  NameFinderEventStream.`generateEvents(String[] sentence, String[] outcomes, NameContextGenerator cg)`
  Generates `events` for each token in a `sentence` with the specified `outcomes` using the specified `NameContextGenerator`.

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

  Methods in opennlp.tools.parser that return types with arguments of type Event
  Modifier and Type
  Method
  Description
  `protected Iterator<Event>`
  AbstractParserEventStream.`createEvents(Parse sample)`
  Method parameters in opennlp.tools.parser with type arguments of type Event
  Modifier and Type
  Method
  Description
  `protected abstract void`
  AbstractParserEventStream.`addParseEvents(List<Event> newEvents, Parse[] chunks)`
  Produces all events for the specified sentence `chunks` and adds them to the specified `newEvents` list.

- ## Uses of Event in opennlp.tools.parser.chunking

  Method parameters in opennlp.tools.parser.chunking with type arguments of type Event
  Modifier and Type
  Method
  Description
  `protected void`
  ParserEventStream.`addParseEvents(List<Event> parseEvents, Parse[] chunks)`
  Adds `events` for parsing (post tagging and chunking) to the specified list of events for the specified parse chunks.

- ## Uses of Event in opennlp.tools.parser.treeinsert

  Method parameters in opennlp.tools.parser.treeinsert with type arguments of type Event
  Modifier and Type
  Method
  Description
  `protected void`
  ParserEventStream.`addParseEvents(List<Event> parseEvents, Parse[] chunks)`

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

  Methods in opennlp.tools.postag that return Event
  Modifier and Type
  Method
  Description
  `Event[]`
  POSSampleSequenceStream.`updateContext(Sequence<POSSample> pss, AbstractModel model)`
  Methods in opennlp.tools.postag that return types with arguments of type Event
  Modifier and Type
  Method
  Description
  `protected Iterator<Event>`
  POSSampleEventStream.`createEvents(POSSample sample)`
  `static List<Event>`
  POSSampleEventStream.`generateEvents(String[] sentence, String[] tags, Object[] additionalContext, POSContextGenerator cg)`
  `static List<Event>`
  POSSampleEventStream.`generateEvents(String[] sentence, String[] tags, POSContextGenerator cg)`

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

  Methods in opennlp.tools.sentdetect that return types with arguments of type Event
  Modifier and Type
  Method
  Description
  `protected Iterator<Event>`
  SDEventStream.`createEvents(SentenceSample sample)`

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

  Methods in opennlp.tools.tokenize that return types with arguments of type Event
  Modifier and Type
  Method
  Description
  `protected Iterator<Event>`
  TokSpanEventStream.`createEvents(TokenSample tokenSample)`
  Adds training events to the event stream for each of the specified `sample`.

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

  Methods in opennlp.tools.util that return Event
  Modifier and Type
  Method
  Description
  `final Event`
  AbstractEventStream.`read()`
  `Event`
  EventTraceStream.`read()`
  Methods in opennlp.tools.util that return types with arguments of type Event
  Modifier and Type
  Method
  Description
  `protected abstract Iterator<Event>`
  AbstractEventStream.`createEvents(T sample)`
  Creates events for the provided `sample`.
  Constructor parameters in opennlp.tools.util with type arguments of type Event
  Modifier
  Constructor
  Description
  ``
  `EventTraceStream(ObjectStream<Event> stream, Writer writer)`
  Initializes an `EventTraceStream`.