© Tanay Pant 2016

Tanay Pant, Building a Virtual Assistant for Raspberry Pi, 10.1007/978-1-4842-2167-9_3

3. Getting Your Hands Dirty: Conversation Module

Tanay Pant

(1)Ghaziabad, Uttar Pradesh, India

In this chapter, you learn how to implement a conversation module to make Melissa understand what you are saying, with the help of a Python program that implements keyword-recognition techniques. You refine the code of the program to make it more efficient, so that you can have a general conversation with Melissa and ask questions like, “How are you?” and “Who are you?”

You have reached the step of building a virtual assistant that involves designing a logic engine. Melissa is basically a parrot right now, repeating what you say. This assistant needs ...

Get Building a Virtual Assistant for Raspberry Pi: The practical guide for constructing a voice-controlled virtual assistant 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.