public class SentimentResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Constructor and Description | 
|---|
SentimentResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
DocumentSentimentResults | 
getDocument()
Gets the document. 
 | 
List<TargetedSentimentResults> | 
getTargets()
Gets the targets. 
 | 
public DocumentSentimentResults getDocument()
The document level sentiment.
public List<TargetedSentimentResults> getTargets()
The targeted sentiment to analyze.
Copyright © 2021 IBM Cloud. All rights reserved.