Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

The Watson Tone Analyzer for Wordpress

DZone's Guide to

The Watson Tone Analyzer for Wordpress

With the Watson Tone Analyzer service on IBM Bluemix you can discover, understand, and revise the language tones in text before you publish, send, or share it. Read on for a sample of how to invoke the service from WordPress via a simple Chrome extension.

· Web Dev Zone ·
Free Resource

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

With the Watson Tone Analyzer service on IBM Bluemix you can discover, understand, and revise the language tones in text before you publish, send, or share it. Below is a little sample of how to invoke the service from WordPress via a simple Chrome extension.

In the WordPress dashboard, you can click the Watson icon in the Chrome toolbar. The triggered code of the extension injects some JavaScript in the page to read the content of the text area and sends it to the extension.

tone2

tone1

Next, the extension opens up the tone analyzer sample web application. I use this application since it comes with a nice visualization of the text and the tones. It even shows potentially better synonyms when clicking on specific words. As a shortcut I send the text from WordPress as a URL parameter (there are certainly better ways to do this).

tone3

To find out more read the documentation and try the online demo.

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

Topics:
ibm bluemix ,watson ,wordpress

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}