Uses of Class
opennlp.tools.ml.model.Event
Packages that use Event
Package
Description
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
Package for classifying a document into a category.
Package related to predicting languages from samples of text.
Package related to the lemmatizer functionality.
Package related to Machine Learning (ML) features of OpenNLP, the related ML models, and trainers.
Package related to ML by means of the Maximum Entropy (ME) algorithm.
Package related to ML models and feature selection techniques.
Package related to ML by means of the perceptron algorithm.
Package related to finding proper names and numeric amounts.
Package containing common code for performing full syntactic parsing.
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
Package containing experimental code for performing full syntactic
parsing using attachment decisions.
Package related to part-of-speech tagging.
Package related to identifying sentence boundaries.
Contains classes related to finding token or words in a string.
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 EventModifier and TypeMethodDescriptionEvent[]
ChunkSampleSequenceStream.updateContext
(Sequence<ChunkSample> sequence, AbstractModel model) Methods in opennlp.tools.chunker that return types with arguments of type Event -
Uses of Event in opennlp.tools.doccat
Methods in opennlp.tools.doccat that return types with arguments of type EventModifier and TypeMethodDescriptionDocumentCategorizerEventStream.createEvents
(DocumentSample sample) -
Uses of Event in opennlp.tools.langdetect
Methods in opennlp.tools.langdetect that return types with arguments of type EventModifier and TypeMethodDescriptionLanguageDetectorEventStream.createEvents
(LanguageSample sample) -
Uses of Event in opennlp.tools.lemmatizer
Methods in opennlp.tools.lemmatizer that return EventModifier and TypeMethodDescriptionEvent[]
LemmaSampleSequenceStream.updateContext
(Sequence<LemmaSample> sequence, AbstractModel model) Methods in opennlp.tools.lemmatizer that return types with arguments of type Event -
Uses of Event in opennlp.tools.ml
Method parameters in opennlp.tools.ml with type arguments of type EventModifier and TypeMethodDescriptionabstract MaxentModel
AbstractEventModelSequenceTrainer.doTrain
(SequenceStream<Event> events) AbstractEventTrainer.getDataIndexer
(ObjectStream<Event> events) final MaxentModel
AbstractEventModelSequenceTrainer.train
(SequenceStream<Event> events) final MaxentModel
AbstractEventTrainer.train
(ObjectStream<Event> events) EventTrainer.train
(ObjectStream<Event> events) Trains aMaxentModel
for givenevents
. -
Uses of Event in opennlp.tools.ml.maxent
Methods in opennlp.tools.ml.maxent that return EventModifier and TypeMethodDescriptionRealBasicEventStream.read()
Returns the nextObjectStream
object.Method parameters in opennlp.tools.ml.maxent with type arguments of type EventModifier and TypeMethodDescriptionGISTrainer.trainModel
(ObjectStream<Event> eventStream) Trains a model using the GIS algorithm, assuming 100 iterations and no cutoff.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 EventModifier and TypeMethodDescriptionEvent[]
Sequence.getEvents()
FileEventStream.read()
Returns the nextEvent
object.HashSumEventStream.read()
RealValueFileEventStream.read()
Returns the nextEvent
object.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 specifiedSequence
.Methods in opennlp.tools.ml.model with parameters of type EventModifier and TypeMethodDescriptionstatic String
Generates a string representing the specified event.Method parameters in opennlp.tools.ml.model with type arguments of type EventModifier and TypeMethodDescriptionprotected List<ComparableEvent>
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 EventModifierConstructorDescriptionInitializesSequence
made up of the specified events and derived from the specified source.Constructor parameters in opennlp.tools.ml.model with type arguments of type EventModifierConstructorDescriptionHashSumEventStream
(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 EventModifier and TypeMethodDescriptionSimplePerceptronSequenceTrainer.doTrain
(SequenceStream<Event> events) SimplePerceptronSequenceTrainer.trainModel
(int iterations, SequenceStream<Event> sequenceStream, int cutoff, boolean useAverage) Trains aPerceptronModel
with given parameters. -
Uses of Event in opennlp.tools.namefind
Methods in opennlp.tools.namefind that return EventModifier and TypeMethodDescriptionEvent[]
NameSampleSequenceStream.updateContext
(Sequence<NameSample> sequence, AbstractModel model) Methods in opennlp.tools.namefind that return types with arguments of type EventModifier and TypeMethodDescriptionNameFinderEventStream.createEvents
(NameSample sample) NameFinderEventStream.generateEvents
(String[] sentence, String[] outcomes, NameContextGenerator cg) Generatesevents
for each token in asentence
with the specifiedoutcomes
using the specifiedNameContextGenerator
. -
Uses of Event in opennlp.tools.parser
Methods in opennlp.tools.parser that return types with arguments of type EventMethod parameters in opennlp.tools.parser with type arguments of type EventModifier and TypeMethodDescriptionprotected abstract void
AbstractParserEventStream.addParseEvents
(List<Event> newEvents, Parse[] chunks) Produces all events for the specified sentencechunks
and adds them to the specifiednewEvents
list. -
Uses of Event in opennlp.tools.parser.chunking
Method parameters in opennlp.tools.parser.chunking with type arguments of type EventModifier and TypeMethodDescriptionprotected void
ParserEventStream.addParseEvents
(List<Event> parseEvents, Parse[] chunks) Addsevents
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 EventModifier and TypeMethodDescriptionprotected void
ParserEventStream.addParseEvents
(List<Event> parseEvents, Parse[] chunks) -
Uses of Event in opennlp.tools.postag
Methods in opennlp.tools.postag that return EventModifier and TypeMethodDescriptionEvent[]
POSSampleSequenceStream.updateContext
(Sequence<POSSample> pss, AbstractModel model) Methods in opennlp.tools.postag that return types with arguments of type EventModifier and TypeMethodDescriptionPOSSampleEventStream.createEvents
(POSSample sample) POSSampleEventStream.generateEvents
(String[] sentence, String[] tags, Object[] additionalContext, POSContextGenerator cg) 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 -
Uses of Event in opennlp.tools.tokenize
Methods in opennlp.tools.tokenize that return types with arguments of type EventModifier and TypeMethodDescriptionTokSpanEventStream.createEvents
(TokenSample tokenSample) Adds training events to the event stream for each of the specifiedsample
. -
Uses of Event in opennlp.tools.util
Methods in opennlp.tools.util that return EventMethods in opennlp.tools.util that return types with arguments of type EventModifier and TypeMethodDescriptionAbstractEventStream.createEvents
(T sample) Creates events for the providedsample
.Constructor parameters in opennlp.tools.util with type arguments of type EventModifierConstructorDescriptionEventTraceStream
(ObjectStream<Event> stream, Writer writer) Initializes anEventTraceStream
.