public class ToneAnalysis
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
ToneAnalysis() |
Modifier and Type | Method and Description |
---|---|
DocumentAnalysis |
getDocumentTone()
Gets the documentTone.
|
List<SentenceAnalysis> |
getSentencesTone()
Gets the sentencesTone.
|
public DocumentAnalysis getDocumentTone()
The results of the analysis for the full input content.
public List<SentenceAnalysis> getSentencesTone()
An array of `SentenceAnalysis` objects that provides the results of the analysis for the individual sentences of the input content. The service returns results only for the first 100 sentences of the input. The field is omitted if the `sentences` parameter of the request is set to `false`.
Copyright © 2021 IBM Cloud. All rights reserved.