Train TJBot to Analyze the Tone in Node-RED

JeanCarl Bisson
2 min readAug 8, 2017

--

Today we’ll train TJBot to analyze three types of tones using the Watson Tone Analyzer service.

TJBot can recognize emotions, language style, and social tendencies using the three tone categories returned from the IBM Watson’s Tone Analyzer service. Create a Watson Tone Analyzer service and copy the username and password credentials into the Tone Analyzer section in the TJBot configuration.

There are three types of tone that the Watson Tone Analyzer service returns: emotion, language style, and social tendencies.

Each tone is returned with a score value between 0 and 1. Shown below is an example (for the phrase I like the TJBot) of the emotions returned: anger, disgust, fear, joy, and sadness.

Here’s a video of how to train TJBot to analyze the tone with the analyze tone node.

That’s it for today’s skill. What can you train TJBot to do now that it can analyze the emotions, language style, and social tendencies from phrases?

Come back tomorrow and we’ll talk about using the Watson Language Translator service and how to translate content from one language to another.

This post is part of a series of skills you can train TJBot to perform.

--

--

JeanCarl Bisson

I’m an IBM Technical Innovation Lead. I love to build prototypes and then share how I designed and built what I made so others can try it too.