public class UtteranceAnalysis
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
UtteranceAnalysis() |
Modifier and Type | Method and Description |
---|---|
String |
getError()
Gets the error.
|
List<ToneChatScore> |
getTones()
Gets the tones.
|
Long |
getUtteranceId()
Gets the utteranceId.
|
String |
getUtteranceText()
Gets the utteranceText.
|
public Long getUtteranceId()
The unique identifier of the utterance. The first utterance has ID 0, and the ID of each subsequent utterance is incremented by one.
public String getUtteranceText()
The text of the utterance.
public List<ToneChatScore> getTones()
An array of `ToneChatScore` objects that provides results for the most prevalent tones of the utterance. The array includes results for any tone whose score is at least 0.5. The array is empty if no tone has a score that meets this threshold.
public String getError()
**`2017-09-21`:** An error message if the utterance contains more than 500 characters. The service does not analyze the utterance. **`2016-05-19`:** Not returned.
Copyright © 2021 IBM Cloud. All rights reserved.