public final class SentimentFactory
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
SentimentFactory() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getSentimentClass(edu.stanford.nlp.util.CoreMap sentenceMap) |
static int |
getSentimentValue(edu.stanford.nlp.util.CoreMap sentenceMap) |
(package private) static Sentiment |
make(edu.stanford.nlp.util.CoreMap sentenceMap) |
static Sentiment make(edu.stanford.nlp.util.CoreMap sentenceMap)
public static int getSentimentValue(edu.stanford.nlp.util.CoreMap sentenceMap)
public static java.lang.String getSentimentClass(edu.stanford.nlp.util.CoreMap sentenceMap)