The Voice Enabled Personal Assistant For PC Using
The Voice Enabled Personal Assistant For PC Using
net/publication/351290964
CITATIONS READS
12 22,360
4 authors, including:
Geetha v. C K Gomathy
Sri Chandrasekharendra Saraswathi Viswa Mahavidyalaya University Sri Chandrasekharendra Saraswathi Viswa Mahavidyalaya University
17 PUBLICATIONS 135 CITATIONS 278 PUBLICATIONS 1,028 CITATIONS
SEE PROFILE
All content following this page was uploaded by C K Gomathy on 28 July 2021.
Published By:
Retrieval Number: 100.1/ijeat.D24250410421 Blue Eyes Intelligence Engineering
DOI:10.35940/ijeat.D2425.0410421 & Sciences Publication
162 © Copyright: All Rights Reserved
The Voice Enabled Personal Assistant for Pc using Python
or restarting a system. pyautogui is a library that is Initially, the assistant will start accepting the user input. After
implemented for functionalities like, capturing a screenshot. receiving the input, the assistant will convert the analog voice
psutil is a library, and is used for functionalities like checking input to the digital text. If assistant was not able to convert the
battery status. voice into text, it will start asking user for the input again. If
converted, it will start analyzing the input and will map the
IV TECHNOLOGIES USED input with particular function. And later, the output will be
given to user via the voice command.
The programming language used in this project is Python,
which is known for its versatility, and availability of wide VI WORKING MODEL
range of libraries. For programming the Virtual Assistant, we
used Microsoft Visual Studio Code (IDE) which supports The assistant, on starting, will initially wait for the input to
Python programming language. Speech Recognition library be given from user. If the user gives input command, via
is present in Python, and is having some in-built functions. voice, the assistant will capture it, and searches for the
Initially, we will define a function for converting the text to keyword present in the input command. If the assistant was
speech. For that, we use pyttsx3 library. We will initialize the able to find a key word, then it will perform the task
library instance to a variable. We use say() method and pass accordingly, and returns the output back to user, in voice. If
the text as an argument to that, for which the output will be a not, the assistant will again start waiting for the user to give
voice reply. For recognizing the voice command given by input.Each of these functionalities are having their own
user, another function has been defined. In that function, importance in the whole system working.
define microscope source and within its scope, we use • User Input—The assistant will wait for the user to give
respective functions and store the output in a variable. For the voice command for further processing.
whole process, we have many services to use, like Google
Speech Recognition engine, Microsoft Bing Voice
Recognition engine, and products of many other big
companies like IBM, Houndify etc., For this project, we
choose Google’s Speech Recognition Engine, that will
convert the respective analog voice command into a digital
text format. We pass that text as an input to the Assistant, and
it will search for the keyword. If the input command has a
word that matches with the respective word, the respective
function will be called, and it will perform the action Fig 2: User Input
accordingly, like telling time, or date, or telling battery status, • Introducing to user—The user who is asking assistant to
taking a screenshot, saving a short note, and many more.For introduce itself, will display the following.
this Personal Virtual Assistant, the main advantage is that it
saves a lot of time, and it can even handle queries from
people, of different voices. There is no rule that one has to
give any exact specified command to trigger a particular
action. User has the flexibility to give command for user, in
natural language. The programming language used to design
this Voice enabled Personal Assistant for PC is PYTHON
3.8.3. And the IDE (Integrated Development Environment)
that we used is Microsoft Visual Code.
Published By:
Retrieval Number: 100.1/ijeat.D24250410421 Blue Eyes Intelligence Engineering
DOI:10.35940/ijeat.D2425.0410421 163 & Sciences Publication
© Copyright: All Rights Reserved
International Journal of Engineering and Advanced Technology (IJEAT)
ISSN: 2249-8958, Volume-10 Issue-4, April 2021
• Taking a sample note—If the user has a small note to be • Opening Applications—If the user asks the assistant to
taken, he can ask the assistant to do so, and the assistant will open an application, like MS Word, or any other, the assistant
take the notes and save it in a notepad file. will do so immediately. And also, it will speak that it opens
the application.
Published By:
Retrieval Number: 100.1/ijeat.D24250410421 Blue Eyes Intelligence Engineering
DOI:10.35940/ijeat.D2425.0410421 & Sciences Publication
164 © Copyright: All Rights Reserved
The Voice Enabled Personal Assistant for Pc using Python
Published By:
Retrieval Number: 100.1/ijeat.D24250410421 Blue Eyes Intelligence Engineering
DOI:10.35940/ijeat.D2425.0410421 165 & Sciences Publication
View publication stats © Copyright: All Rights Reserved