Skip to content

VassilisAntonakakis/voice_assistant

Repository files navigation

This is a small attempt to create a simple voice assistant to help you in tasks with web searching and browsing or any other task you may think.
You can find the current active commands in the Commands file.

One of the main problems at the current stage is the low accuracy of the google speech-to-text conversion that this project uses

Instructions on adding new commands:

Before you start, fork (upper right corner) the code to a personal repo

1)Create your command on a python script
2)Keep your code clean and clear and set a function that can be called to execute the operation
3)Go to the stringManipulation.py and import your file
4)Add another elif statement at the end of the if statement in the commandParser function
5)Find a keyword that invokes a call to your scripts driver function and add the statement "elif "<keyword>" in command
6)Call the scripts driver function by typing <filename>.<function-name>()
7)Make sure to properly claim your contribution at the start of your script by putting your name in a comment
8)Update the Commands file accordingly to include your command after the character '#' followed by a short description of its use
9)Create a new pull request to upload your changes to main

Library dependancies:
-speech_recognition
-pyttsx3
-webbrowser
-pyaudio

About

Basic voice assistant with voice commands. Feel free to read the README.txt for instructions on how to add your own commands

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages