Class ToneChatScore
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.tone_analyzer.v3.model.ToneChatScore
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ToneChatScore
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The score for an utterance from the input content.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ToneChatScore.ToneId
The unique, non-localized identifier of the tone for the results. -
Constructor Summary
Constructors Constructor Description ToneChatScore()
-
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
ToneChatScore
public ToneChatScore()
-
-
Method Details
-
getScore
Gets the score.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.
- Returns:
- the score
-
getToneId
Gets the toneId.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.
- Returns:
- the toneId
-
getToneName
Gets the toneName.The user-visible, localized name of the tone.
- Returns:
- the toneName
-