IBM Watson
Introduction: The focus of this Project was to get familiar with web sockets and IBM Watson. The main objectives were to (1) translate speech to text, (2) add a command to launch an application, and (3) detect a command that translates a phrase into french and then play it back. Problem Discussion: The first step was to create an IBM account in order to get credentials to access IBM Cloud Services. The instructor provided some code for running the program. I added to it in order for it do the requirements. 1. Translating Speech to Text The credentials allowed me to use the Speech to Text services from IBM Cloud Services. The code below allowed me to interpret the words that Watson picked up. The run started by playing the greeting. Then it listened for the keywords. When "Watson" was heard, it printed that it found a command, and set the command state to "started". After I said "Watson", i said "Ignore", which was another keyword.