public class ToneChatScore
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
ToneChatScore.ToneId
The unique, non-localized identifier of the tone for the results. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected java.lang.Double | 
score  | 
protected java.lang.String | 
toneId  | 
protected java.lang.String | 
toneName  | 
| Constructor and Description | 
|---|
ToneChatScore()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Double | 
getScore()
Gets the score. 
 | 
java.lang.String | 
getToneId()
Gets the toneId. 
 | 
java.lang.String | 
getToneName()
Gets the toneName. 
 | 
protected java.lang.Double score
@SerializedName(value="tone_id") protected java.lang.String toneId
@SerializedName(value="tone_name") protected java.lang.String toneName
public java.lang.Double getScore()
The score for the tone in the range of 0.5 to 1. A score greater than 0.75 indicates a high likelihood that the tone is perceived in the utterance.
public java.lang.String getToneId()
The unique, non-localized identifier of the tone for the results. The service returns results only for tones whose scores meet a minimum threshold of 0.5.
public java.lang.String getToneName()
The user-visible, localized name of the tone.