Cali: A simple virtual assistant that demonstrates how to use Google Speech Recognition and IBM text to speech in Python
This program needs the following dependencies installed. Run the following command on your terminal to install them
python -m pip install --upgrade ibm-watson
python -m pip install SpeechRecognition
python -m pip install pyttsx3
https://brewinstall.org/Install-mpg321-on-Mac-with-Brew/ for Mac OSX
http://www.mpg123.de/download/win64/mpg123-1.23.8-x86-64.zip download for windows, then extract the folder and rename mpg123.exe to mpg321.exe and add the folder to your system path. Learn how to add folder to path here: https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/
Run the script "main.py" from the directory containing it
Say:
What is the weather in Abuja: to make Cali check and tell you the weather in Abuja
Search for Python tutorial on youtube: to make Cali open a new youtube search page.
Open up imabeljoshua on twitter: to make Cali open up twitter.com/iamabeljoshua on a new browser tab.
What is the local time: to make Cali check and tell your current local time.
This is just a simple python program that demonstrates how different components can be combined to create a virtual assistant. A lot can be done with this project, such as:
Adding AIML to this project to make it work like an AI Chatbot.
Using NLP for intent extraction to give it an Alexa or Google Home like intelligence.
Feel free to fork this project and make your own changes too.