public class KeywordsResult extends GenericModel
| Constructor and Description |
|---|
KeywordsResult() |
| Modifier and Type | Method and Description |
|---|---|
EmotionScores |
getEmotion()
Gets the emotion.
|
java.lang.Double |
getRelevance()
Gets the relevance.
|
FeatureSentimentResults |
getSentiment()
Gets the sentiment.
|
java.lang.String |
getText()
Gets the text.
|
void |
setEmotion(EmotionScores emotion)
Sets the emotion.
|
void |
setRelevance(java.lang.Double relevance)
Sets the relevance.
|
void |
setSentiment(FeatureSentimentResults sentiment)
Sets the sentiment.
|
void |
setText(java.lang.String text)
Sets the text.
|
equals, hashCode, toStringpublic java.lang.Double getRelevance()
public java.lang.String getText()
public EmotionScores getEmotion()
public FeatureSentimentResults getSentiment()
public void setRelevance(java.lang.Double relevance)
relevance - the new relevancepublic void setText(java.lang.String text)
text - the new textpublic void setEmotion(EmotionScores emotion)
emotion - the new emotionpublic void setSentiment(FeatureSentimentResults sentiment)
sentiment - the new sentiment