Uses of Class
opennlp.tools.sentiment.SentimentContextGenerator
Packages that use SentimentContextGenerator
-
Uses of SentimentContextGenerator in opennlp.tools.sentiment
Subclasses of SentimentContextGenerator in opennlp.tools.sentimentModifier and TypeClassDescriptionclassASentimentContextGeneratorthat adds emoji annotation features to the default token context: for every annotated token the project-authored coarse sentiment score (emojiSentiment=2), the entity type (emojiType=HEART), the category (emojiCategory=SMILEYS_AND_EMOTION), and for flags the region (emojiRegion=DE).Methods in opennlp.tools.sentiment that return SentimentContextGeneratorModifier and TypeMethodDescriptionEmojiSentimentFactory.createContextGenerator()Creates a newcontext generator.SentimentFactory.createContextGenerator()Creates a newcontext generator.Constructors in opennlp.tools.sentiment with parameters of type SentimentContextGeneratorModifierConstructorDescriptionSentimentEventStream(opennlp.tools.util.ObjectStream<opennlp.tools.sentiment.SentimentSample> samples, SentimentContextGenerator createContextGenerator) Instantiates aevent stream.