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 computer that talks

Let's begin with Text to Speech processing.

The basic process for getting the computer to speak is relatively easy:

  • Produce the text of what you want to say
  • Send the text to the Text to Speech service to generate a sound file
  • Play the sound file through the computer's speaker

Let's walk through this process; we'll start by getting the computer to say something such as, I'm so glad you're here with me today.


Throughout this chapter, the sample applications will use the JSON library to facilitate printing out JSON structures. In addition, we use the TextToSpeechV1 and SpeechToTextV1 packages from the watson_developer_cloudSDK library. You will see these included as import statements at the beginning of the sample programs.

  1. Building on what we have...