Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ToneScore

The score for a tone from the input content.

Hierarchy

  • ToneScore

Index

Properties

Properties

score

score: number

The score for the tone.

  • 2017-09-21: The score that is returned lies 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 content.
  • 2016-05-19: The score that is returned lies in the range of 0 to 1. A score less than 0.5 indicates that the tone is unlikely to be perceived in the content; a score greater than 0.75 indicates a high likelihood that the tone is perceived.

tone_id

tone_id: string

The unique, non-localized identifier of the tone.

  • 2017-09-21: The service can return results for the following tone IDs: anger, fear, joy, and sadness (emotional tones); analytical, confident, and tentative (language tones). The service returns results only for tones whose scores meet a minimum threshold of 0.5.
  • 2016-05-19: The service can return results for the following tone IDs of the different categories: for the emotion category: anger, disgust, fear, joy, and sadness; for the language category: analytical, confident, and tentative; for the social category: openness_big5, conscientiousness_big5, extraversion_big5, agreeableness_big5, and emotional_range_big5. The service returns scores for all tones of a category, regardless of their values.

tone_name

tone_name: string

The user-visible, localized name of the tone.

Generated using TypeDoc