PROJECT ‘ANU' (An voice assistant)
ANU is an virtual assistant which is developed using python that can understand voice commands and complete tasks for a user. In this we will run specific commands and this will executed back to the user. The name of the voice assistant is “ANU “ .
Here is brief detail about the libraries used in this project:
PYTTSX3-We imported pyttsx3 library which is a text-to-speech conversion library in Python. Unlike alternative libraries, it works offline, and is compatible with both Python 2 and 3.
OS-The OS library will allow us to interact with the Operating System.
WIKIPEDIA-The Wikipedia library will allow us to get information about the user query from Wikipedia.
DATETIME-The datetime library will allow us to get the current date and time.
SPEECH RECOGNISITION-The SpeechRecognisition is the Library for performing speech recognition, with support for several engines and APIs, online and offline.
CTYPES-And ctypes is a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries. It can be used to wrap these libraries in pure Python.
PSUTIL-The psutil (process and system utilities) is a cross-platform library for retrieving information on running processes and system utilization (CPU, memory, disks, network, sensors) in Python. It is useful mainly for system monitoring, profiling and limiting process resources and management of running processes.
WEBBROWSER-The webbrowser provides a high-level interface to allow displaying Web-based documents to users. Under most circumstances, simply calling the open() function will open the webbrowser.
SUBPROCESS-The subprocess module allows you to spawn new processes, connect to their input/output/error pipes, and obtain their return codes.
WINSHELL-The winshell module is a light wrapper around the Windows shell functionality. It includes convenience functions for accessing special folders, for using the shell’s file copy, rename & delete functionality, and a certain amount of support for structured storage.
WIKIQUOTE-Wikiquote is a free online compendium of sourced quotations from notable people. Pyjokes is the library with one line jokes for programmers.
SMTPLIB-The smtplib module defines an SMTP client session object that can be used to send mail to any Internet machine with an SMTP or ESMTP listener daemon.
Here is the commands that can execute:
what is your name-says the name of voice assistant
who created you-command that says the creator name
your favourite food-says about the fav food of the voice assistant
who am i-says the user is a human
your favourite colour-speaks the color name that is favourite to voice assistant
what time is it-returns the current time
how are you-returns its mood
why you came to this world-gives you answer why it came...
who are you- returns its name and says it is a voice assistant
clean bin-cleans the files recycle bin
Shutdown-It is the one of the command which makes the device to power off
Lockscreen-locks the screen of the device
Jokes-gives a joke
Send email-sends the email
System info-returns about the system information that consists of processor, cpu, ram, machine, nodename and so on
Show ram-returns the amount of ram present in the device
Brightness-the command which adjusts the brightness of the system
Search-search the keyword in the internet and returns the data
Wikipedia-returns the data from Wikipedia
Search ‘keyword’ –opens in the webbrowser about the keyword
Play ‘songname’-plays the song in the webbrowser
Find location-gets the location of the place
Note-takes the speech to text note and saves it as a text file
Songs-plays the songs
Open word-opens the word application
Open excel- opens the excel application
Open powerpoint-opens the powerpoint application
Status-gives the battery percentage remaning of the device
Disk usage-gives the usage of the disk storage(hard disk)
Open google-open the google website
Open youtube-opens the youtube website
Help-returns all the commands that is executed by voice assistant
Quit-stops/exit the voice assistant