public class Keyword extends AlchemyLanguageGenericModel
Constructor and Description |
---|
Keyword() |
Modifier and Type | Method and Description |
---|---|
KnowledgeGraph |
getKnowledgeGraph()
Gets the knowledge graph.
|
java.lang.Double |
getRelevance()
Gets the relevance.
|
Sentiment |
getSentiment()
Gets the sentiment.
|
java.lang.String |
getText()
Gets the text.
|
void |
setKnowledgeGraph(KnowledgeGraph knowledgeGraph)
Sets the knowledge graph.
|
void |
setRelevance(java.lang.Double relevance)
Sets the relevance.
|
void |
setSentiment(Sentiment sentiment)
Sets the sentiment.
|
void |
setText(java.lang.String text)
Sets the text.
|
getLanguage, getUrl, setLanguage, setUrl
getTotalTransactions, setTotalTransactions
equals, hashCode, toString
public KnowledgeGraph getKnowledgeGraph()
public java.lang.Double getRelevance()
public Sentiment getSentiment()
public java.lang.String getText()
public void setKnowledgeGraph(KnowledgeGraph knowledgeGraph)
knowledgeGraph
- the knowledgeGraph to setpublic void setRelevance(java.lang.Double relevance)
relevance
- The relevancepublic void setSentiment(Sentiment sentiment)
sentiment
- The sentimentpublic void setText(java.lang.String text)
text
- The text