public class SentimentResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected DocumentSentimentResults |
document |
protected java.util.List<TargetedSentimentResults> |
targets |
Constructor and Description |
---|
SentimentResult() |
Modifier and Type | Method and Description |
---|---|
DocumentSentimentResults |
getDocument()
Gets the document.
|
java.util.List<TargetedSentimentResults> |
getTargets()
Gets the targets.
|
protected DocumentSentimentResults document
protected java.util.List<TargetedSentimentResults> targets
public DocumentSentimentResults getDocument()
The document level sentiment.
public java.util.List<TargetedSentimentResults> getTargets()
The targeted sentiment to analyze.