public class KeywordsResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Method and Description |
---|---|
Long |
getCount()
Gets the count.
|
EmotionScores |
getEmotion()
Gets the emotion.
|
Double |
getRelevance()
Gets the relevance.
|
FeatureSentimentResults |
getSentiment()
Gets the sentiment.
|
String |
getText()
Gets the text.
|
public Long getCount()
Number of times the keyword appears in the analyzed text.
public Double getRelevance()
Relevance score from 0 to 1. Higher values indicate greater relevance.
public String getText()
The keyword text.
public EmotionScores getEmotion()
Emotion analysis results for the keyword, enabled with the `emotion` option.
public FeatureSentimentResults getSentiment()
Sentiment analysis results for the keyword, enabled with the `sentiment` option.
Copyright © 2023 IBM Cloud. All rights reserved.