## 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 |
  opennlp.tools.lemmatizer | Package related with the lemmatizer tool
  opennlp.tools.ml |
  opennlp.tools.ml.maxent | Provides main functionality of the maxent package including data structures and algorithms for parameter estimation.
  opennlp.tools.ml.model |
  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 sentece boundries.
  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 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 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
    --- | --- | ---
    `DataIndexer` | AbstractEventTrainer.`getDataIndexer​(ObjectStream<Event> events)` |
    `MaxentModel` | AbstractEventTrainer.`train​(ObjectStream<Event> events)` |
    `MaxentModel` | EventTrainer.`train​(ObjectStream<Event> 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)` | Train 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()` | Returns the events which make up this sequence.
    `Event` | FileEventStream.`read()` |
    `Event` | HashSumEventStream.`read()` |
    `Event` | RealValueFileEventStream.`read()` |
    `Event` | SequenceStreamEventStream.`read()` |
    `Event[]` | SequenceStream.`updateContext​(Sequence 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)` |
    `void` | DataIndexer.`index​(ObjectStream<Event> eventStream)` | Performs the data indexing.
    `void` | OnePassDataIndexer.`index​(ObjectStream<Event> eventStream)` |
    `void` | TwoPassDataIndexer.`index​(ObjectStream<Event> eventStream)` |

    Constructors in opennlp.tools.ml.model with parameters of type Event
    Constructor | Description
    --- | ---
    `Sequence​(Event[] events, T source)` | Creates a new 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
    Constructor | Description
    --- | ---
    `HashSumEventStream​(ObjectStream<Event> eventStream)` |

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

    Methods in opennlp.tools.namefind that return Event
    Modifier and Type | Method | Description
    --- | --- | ---
    `Event[]` | NameSampleSequenceStream.`updateContext​(Sequence 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)` |

  - ### 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 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 sequence, 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 tokens.

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

    Methods in opennlp.tools.util that return Event
    Modifier and Type | Method | Description
    --- | --- | ---
    `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
    Constructor | Description
    --- | ---
    `EventTraceStream​(ObjectStream<Event> stream, Writer writer)` |