Class EmojiSentimentFactory


public class EmojiSentimentFactory extends SentimentFactory
A SentimentFactory whose context generator adds emoji annotation features (see EmojiSentimentContextGenerator). Pass it to SentimentME.train to opt in; the factory class is recorded in the trained model's manifest, so prediction re-creates the same context. The default SentimentFactory is unchanged.