Personal-Voice-Assistant


Personal Assistant using Python Speech Recognition and Voice Input from user with various features like opening several websites and applications etc.


Modules used: speech_recognition, datetime, wikipedia, webbrowser, win32com

Know more about these and their installation here.


Functions used: asst_speaks(audio), greet(), user_speaks(), reg_browser(), main()

Let us see about these functions in detail.


asst_speaks(audio) - This function is used whenever the assistant has to speak. The 'audio' parameter is the text that it will speak which are based on evaluation of user input passed.


greet() - This function is used to generate the greeting message by detecting the hour when asked to greet the user like "Good Morning!", "Good Afternoon", "Good Evening" etc. By default it greets on loading the system.


user_speaks() - This is the audio input function from the user end. The audio that the user provides gets converted in the form of text in this function itself for processing.


reg_browser() - This function is used to register the browser (Google Chrome) in this case with the program. It is executed at the beginning of the execution of the program for hassle free execution og thr program.


main() - This function is the driver code for the entire program. Here is where all the functions are brought to operation. Firstly, the greet() and reg_browser() functions are executed. Then user is asked for input of command and as per the command the task is executed and this process continues...


Features of the Voice Assistant:-

  1. Tell about itself
  2. Tell about its creator
  3. Wikipedia something.
  4. Open Websites like Google, GeeksforGeeks, StackOverflow, Spotify, Hotstar etc.
  5. Tell date and time.

and much more...


Refer to this repository for the code and if you like it please Follow me and star the repository for fututre reference.