17 Ultimate Virtual Personal Assistant

In this chapter, you’ll load up a virtual personal assistant (VPA) with the interesting projects in this book, like voice-controlled games, voice translators, voice music activations, and so on. You’ll first add a chatting functionality to the script so you can carry out a daily conversation with the VPA. You’ll create a dictionary of questions and answers. Whenever your voice command matches one of the questions in the dictionary, the VPA speaks the answer from the dictionary. This enables the VPA to answer certain questions in a very particular way, instead of obtaining an answer from Wikipedia or ...

Get Make Python Talk now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.