Class ToneChatScore

All Implemented Interfaces:

public class ToneChatScore
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

    Constructor Description
  • Method Summary

    Modifier and Type Method Description
    Double getScore()
    Gets the score.
    String getToneId()
    Gets the toneId.
    String getToneName()
    Gets the toneName.

    Methods inherited from class

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ToneChatScore

      public ToneChatScore()
  • Method Details

    • getScore

      public Double 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.

      the score
    • getToneId

      public String 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.

      the toneId
    • getToneName

      public String getToneName()
      Gets the toneName.

      The user-visible, localized name of the tone.

      the toneName