Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save loretoparisi/bb01115262f3e9a5192194b4931ca053 to your computer and use it in GitHub Desktop.

Select an option

Save loretoparisi/bb01115262f3e9a5192194b4931ca053 to your computer and use it in GitHub Desktop.
Example of IBM Watson Tone Analyzer Response
{
"document_tone": {
"tone_categories": [
{
"tones": [
{
"score": 0.308012,
"tone_id": "anger",
"tone_name": "Anger"
},
{
"score": 0.288228,
"tone_id": "disgust",
"tone_name": "Disgust"
},
{
"score": 0.192118,
"tone_id": "fear",
"tone_name": "Fear"
},
{
"score": 0.097296,
"tone_id": "joy",
"tone_name": "Joy"
},
{
"score": 0.536964,
"tone_id": "sadness",
"tone_name": "Sadness"
}
],
"category_id": "emotion_tone",
"category_name": "Emotion Tone"
},
{
"tones": [
{
"score": 0.177,
"tone_id": "analytical",
"tone_name": "Analytical"
},
{
"score": 0.005,
"tone_id": "confident",
"tone_name": "Confident"
},
{
"score": 0,
"tone_id": "tentative",
"tone_name": "Tentative"
}
],
"category_id": "language_tone",
"category_name": "Language Tone"
},
{
"tones": [
{
"score": 0.015,
"tone_id": "openness_big5",
"tone_name": "Openness"
},
{
"score": 0.082,
"tone_id": "conscientiousness_big5",
"tone_name": "Conscientiousness"
},
{
"score": 0.89,
"tone_id": "extraversion_big5",
"tone_name": "Extraversion"
},
{
"score": 0.889,
"tone_id": "agreeableness_big5",
"tone_name": "Agreeableness"
},
{
"score": 0.898,
"tone_id": "emotional_range_big5",
"tone_name": "Emotional Range"
}
],
"category_id": "social_tone",
"category_name": "Social Tone"
}
]
}
}
@loretoparisi

Copy link
Copy Markdown
Author

The input text was

Baby I like
your style
Grips on your
waist
Front way, back
way
You know that I
don't play
Streets not
safe
But I never run
away
Even when I'm
away

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment