Package opennlp.tools.sentiment
package opennlp.tools.sentiment
-
ClassDescriptionA
SentimentContextGeneratorthat 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).ASentimentFactorywhose context generator adds emoji annotation features (seeEmojiSentimentContextGenerator).Class for using a Context Generator for Sentiment Analysis.Class for performing cross validation on the Sentiment Analysis Parser.Class for creating a document sampleSplits DocumentSample into SentimentSamples.Reads Sentiment Samples to group them as a document based on the clear adaptive data flag.An sentiment specificEvaluationMonitorto be used by the evaluator.TheSentimentEvaluatormeasures the performance of the givenSentimentMEwith the provided referenceSentimentSamples.Class for creating events for Sentiment Analysis that is later sent to MaxEnt.Class for creating sentiment factories for training.ASentimentDetectorimplementation for creating and using maximum-entropy-based Sentiment Analysis models.Class for the basis of the Sentiment Analysis model.Class for holding text used for sentiment analysis.Class for converting Strings through Data Stream toSentimentSampleusing tokenised text.Class for creating a type filter.