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

A fun application of the speech service

We've provided a sample ( application that you can use to have fun with the Watson speech service.


Before using this sample program, you will have to substitute in your own username and password for the service instance that you created earlier.

Let's take a look at what this program is doing:

  1. The program can take in three optional command-line arguments—the text string that you want to synthesize, the voice in which you want it expressed, and the customization-id of any custom model that you want to use (assuming that you created one previously and have the customization-id that was created with it).
  2. The program begins by parsing and testing the inclusion of any of these three arguments on the command line in lines 84 through to 103.
  3. It reports on what it will be processing on line 106.
  4. Then, it invokes the textSpeech() function, passing in the arguments that it found, if any, on the command line to do the speech synthesis processing...