• Installs:
  • Today: 0
  • This Week: 8
  • This Month: 30
  • All Time: 258
Developer: dimashirokov

IBMWatsonToneAnalyzer . analyzeToneFromText

Analyzes the tone of a piece of text. The message is analyzed for several tones - social, emotional, and language. For each tone, various traits are derived. For example, conscientiousness, agreeableness, and openness.

Test This Block


Required Parameters

  • text
    Text that contains the content to be analyzed. The Tone Analyzer Service supports up to 128KB of text, or about 1000 sentences. Sentences with less than three words cannot be analyzed.
Optional Parameters
  • tones
    Filter the results by a specific tone. Valid values for tones are `emotion`, `language`, and `social`.
  • sentences
    Filter your response to remove the sentence level analysis. Valid values for sentences are true and false. This parameter defaults to true when it's not set, which means that a sentence level analysis is automatically provided. Change `sentences=false` to filter out the sentence level analysis.
Show Optional Parameters
TEST Function
CODE ( )
Response

Nice try, But you still have to Log in.
Meanwhile, you can enjoy this limerick:

"A programming genius called HEAP
Had trouble in getting to sleep
So he made his lambs troup
through a huge FOR-NEXT loop
FOR 1 TO 10000: NEXT sheep."

Sign In