Uses of Class
opennlp.tools.ml.model.Event
Packages that use Event
Package
Description
Provides main functionality of the maxent package including data structures and
algorithms for parameter estimation.
-
Uses of Event in opennlp.tools.chunker
Methods in opennlp.tools.chunker that return EventModifier and TypeMethodDescriptionEvent[]ChunkSampleSequenceStream.updateContext(Sequence<ChunkSample> sequence, MaxentModel model) Methods in opennlp.tools.chunker that return types with arguments of type Event -
Uses of Event in opennlp.tools.depparse
Fields in opennlp.tools.depparse with type parameters of type EventMethods in opennlp.tools.depparse that return EventModifier and TypeMethodDescriptionDependencyEventStream.read()Returns the nextObjectStreamobject. -
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, MaxentModel 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 MaxentModelAbstractEventModelSequenceTrainer.doTrain(SequenceStream<Event> events) AbstractEventTrainer.getDataIndexer(ObjectStream<Event> events) final MaxentModelAbstractEventModelSequenceTrainer.train(SequenceStream<Event> events) final MaxentModelAbstractEventTrainer.train(ObjectStream<Event> events) EventTrainer.train(ObjectStream<Event> events) Trains aMaxentModelfor givenevents. -
Uses of Event in opennlp.tools.ml.maxent
Methods in opennlp.tools.ml.maxent that return EventModifier and TypeMethodDescriptionRealBasicEventStream.read()Returns the nextObjectStreamobject.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
Fields in opennlp.tools.ml.model declared as EventFields in opennlp.tools.ml.model with type parameters of type EventModifier and TypeFieldDescriptionSequenceStreamEventStream.eventItSimpleEventStreamBuilder.eventListprivate final SequenceStream<Event> SequenceStreamEventStream.sequenceStreamMethods in opennlp.tools.ml.model that return EventModifier and TypeMethodDescriptionEvent[]Sequence.getEvents()static EventRealValueFileEventStream.parseEvent(String line) Parses one real-valued event line.ChecksumEventStream.read()FileEventStream.read()Returns the nextEventobject.RealValueFileEventStream.read()Returns the nextEventobject.SequenceStreamEventStream.read()TwoPassDataIndexer.EventStream.read()Event[]SequenceStream.updateContext(Sequence<S> sequence, MaxentModel model) Creates a new event array based on the outcomes predicted by the specified parameters for the specifiedSequence.Methods in opennlp.tools.ml.model that return types with arguments of type EventModifier and TypeMethodDescriptionSimpleEventStreamBuilder.build()Returns astreamover the events added so far.OnePassDataIndexer.computeEventCounts(ObjectStream<Event> eventStream, Map<String, Integer> predicatesInOut, int cutoff) Reads events from eventStream into a linked list.Methods in opennlp.tools.ml.model with parameters of type EventModifier and TypeMethodDescriptionstatic StringGenerates a string representing the specified event.Method parameters in opennlp.tools.ml.model with type arguments of type EventModifier and TypeMethodDescriptionOnePassDataIndexer.computeEventCounts(ObjectStream<Event> eventStream, Map<String, Integer> predicatesInOut, int cutoff) Reads events from eventStream into a linked list.private intTwoPassDataIndexer.computeEventCounts(ObjectStream<Event> eventStream, DataOutputStream eventStore, Map<String, Integer> predicatesInOut, int cutoff) Reads events from eventStream into a linked list.protected List<ComparableEvent> Performs the data indexing.voidDataIndexer.index(ObjectStream<Event> eventStream) Performs the data indexing.voidOnePassDataIndexer.index(ObjectStream<Event> eventStream) Performs the data indexing.voidTwoPassDataIndexer.index(ObjectStream<Event> eventStream) Performs the data indexing.Constructors in opennlp.tools.ml.model with parameters of type EventModifierConstructorDescriptionInitializesSequencemade up of the specified events and derived from the specified source.Constructor parameters in opennlp.tools.ml.model with type arguments of type EventModifierConstructorDescriptionChecksumEventStream(ObjectStream<Event> eventStream) Initializes anChecksumEventStream.SequenceStreamEventStream(SequenceStream<Event> sequenceStream) -
Uses of Event in opennlp.tools.ml.perceptron
Fields in opennlp.tools.ml.perceptron with type parameters of type EventModifier and TypeFieldDescriptionprivate SequenceStream<Event> SimplePerceptronSequenceTrainer.sequenceStreamMethod 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 aPerceptronModelwith given parameters. -
Uses of Event in opennlp.tools.namefind
Methods in opennlp.tools.namefind that return EventModifier and TypeMethodDescriptionEvent[]NameSampleSequenceStream.updateContext(Sequence<NameSample> sequence, MaxentModel 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) Generateseventsfor each token in asentencewith the specifiedoutcomesusing 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 TypeMethodDescriptionprivate voidAbstractParserEventStream.addChunkEvents(List<Event> chunkEvents, Parse[] chunks) protected abstract voidAbstractParserEventStream.addParseEvents(List<Event> newEvents, Parse[] chunks) Produces all events for the specified sentencechunksand adds them to the specifiednewEventslist.private voidAbstractParserEventStream.addTagEvents(List<Event> tagEvents, Parse[] chunks) -
Uses of Event in opennlp.tools.parser.chunking
Method parameters in opennlp.tools.parser.chunking with type arguments of type EventModifier and TypeMethodDescriptionprotected voidParserEventStream.addParseEvents(List<Event> parseEvents, Parse[] chunks) Addseventsfor 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 voidParserEventStream.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, MaxentModel 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.sentiment
Methods in opennlp.tools.sentiment that return types with arguments of type EventModifier and TypeMethodDescriptionSentimentEventStream.createEvents(SentimentSample sample) Creates events fromsentiment samples. -
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
Fields in opennlp.tools.util with type parameters of type EventMethods 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.