Book Image

Cognitive Computing with IBM Watson

By : Rob High, Tanmay Bakshi
Book Image

Cognitive Computing with IBM Watson

By: Rob High, Tanmay Bakshi

Overview of this book

Cognitive computing is rapidly becoming a part of every aspect of our lives through data science, machine learning (ML), and artificial intelligence (AI). It allows computing systems to learn and keep on improving as the amount of data in the system increases. This book introduces you to a whole new paradigm of computing – a paradigm that is totally different from the conventional computing of the Information Age. You will learn the concepts of ML, deep learning (DL), neural networks, and AI with the help of IBM Watson APIs. This book will help you build your own applications to understand, and solve problems, and analyze them as per your needs. You will explore various domains of cognitive computing, such as NLP, voice processing, computer vision, emotion analytics, and conversational systems. Equipped with the knowledge of machine learning concepts, how computers do their magic, and the applications of these concepts, you’ll be able to research and apply cognitive computing in your projects.
Table of Contents (16 chapters)
Title Page
Copyright and Credits
About Packt

The functionality of the Tone Analyzer API

With the Tone Analyzer API, as the name implies, you can analyze the tone of a passage of text. These are the six possible tones as shown in the following table:




Seriously? I just bought my phone yesterday and it's already bricked!


I'm worried my phone is going to overheat!


#ThisBrand makes the best chocolate bars!


It's too bad that Ken and Brad lost to a computer on Jeopardy!


Your computational thinking skills are excellent; however, you need to work on your programming.


I'm beginning to wonder if #ThisPhone is the best in the market anymore.


When you pass Watson some text, it generates a score for each of these tones on a scale of 0 to 1. It also lets you know which parts of the text activated those scores. So, for example, The Spongebob Squarepants Out Of Water movie is excellent, I loved it! I do think that the part toward the end could be a bit longer, though.

The Tone Analyzer returns the following...