0% found this document useful (0 votes)
22 views

The Voice Enabled Personal Assistant For PC Using

This document describes a voice-enabled personal assistant created using Python. It uses speech recognition to convert voice commands to text and text-to-speech to respond to the user verbally. The assistant is designed for a desktop application and can perform tasks like opening apps, reading news, and taking notes based on voice commands. It integrates technologies like speech recognition, text-to-speech, and APIs to enable voice control of common computer functions with the goal of saving users time.

Uploaded by

Gnana Prakash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

The Voice Enabled Personal Assistant For PC Using

This document describes a voice-enabled personal assistant created using Python. It uses speech recognition to convert voice commands to text and text-to-speech to respond to the user verbally. The assistant is designed for a desktop application and can perform tasks like opening apps, reading news, and taking notes based on voice commands. It integrates technologies like speech recognition, text-to-speech, and APIs to enable voice control of common computer functions with the goal of saving users time.

Uploaded by

Gnana Prakash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/351290964

The Voice Enabled Personal Assistant for Pc using Python

Article in International Journal of Engineering and Advanced Technology · April 2021


DOI: 10.35940/ijeat.D2425.0410421

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 SEE PROFILE

Manasa Sri Vardhan Kottamasu


Sri Chandrasekharendra Saraswathi Viswa Mahavidyalaya University
1 PUBLICATION 12 CITATIONS

SEE PROFILE

All content following this page was uploaded by C K Gomathy on 28 July 2021.

The user has requested enhancement of the downloaded file.


International Journal of Engineering and Advanced Technology (IJEAT)
ISSN: 2249-8958, Volume-10 Issue-4, April 2021

The Voice Enabled Personal Assistant for Pc


using Python
V. Geetha, C.K.Gomathy, Kottamasu Manasa Sri Vardhan, Nukala Pavan Kumar
This Voice enabled personal assistant can be implemented by
Abstract: Personal Assistants, or conversational interfaces, or using technologies like Speech-to-Text and Text-to-Speech,
chat bots reinvent a new way for individuals to interact with and can be integrated with other functionalities as well,
computes. A Personal Virtual Assistant allows a user to simply ask
depending on our requirement.
questions in the same manner that they would address a human,
and are even capable of doing some basic tasks like opening apps,
reading out news, taking notes etc., with just a voice command. II. LITERATURE SURVEY
Personal Assistants like Google Assistant, Alexa, Siri works by
Personal Assistants, or Virtual assistants have become an
Speech Recognition (Speech-to-text) and Text-to-Speech.
Keywords: Personal Assistants; chat bots; conversational integral part of our lives these days. Every organisation, or
interfaces; Speech Recognition; Text-to-Speech. individual is switching to this kind of technologies, as they
help them get their things done in an easier way.
I. INTRODUCTION This system is based on a Desktop Application. This
system includes a Virtual Assistant, that is capable of
accepting input from the user, understanding it, analysing it,
Knowingly, or unknowingly, personal assistants have and performing tasks accordingly. This helps users save a lot
become an integral part of our lives these days. It is because of time.
of all the features and ease of use they provide. Personal
Assistants are also capable of automating some day-to-day III. PROPOSED METHODOLOGY
tasks, so that a user can focus on what matters the most to
them. Features like, making calls, writing messages, taking In this proposed concept effective way of implementing a
photographs, storing to-dos on the go, browsing internet etc., Personal voice assistant, Speech Recognition library has
are offered by personal assistants. So, utilization of these many in-built functions, that will let the assistant understand
features of a virtual assistant will save an individual a lot of the command given by user and the response will be sent
time, and effort. It is important to focus more on what matters back to user in voice, with Text to Speech functions. When
the most for an individual, whether it could be personal work, assistant captures the voice command given by user, the
or professional work. People often spend more time on doing under lying algorithms will convert the voice into text. And
routine tasks, and they can be automated with these types of according to the keywords present in the text (command
personal assistants. When someone works in an environment given by user), respective action will be performed by the
with which he/she is not familiar with, they often find it assistant. This is made possible with the functions present in
difficult to locate applications that they need, like browser, different libraries. Also, the assistant was able to achieve all
any IDE or nay other software. Most of the time, they will the functionalities with help of some API’s. We had used
end up wasting hours of time, searching for the application these APIs for functionalities like performing calculations,
alone. This results in unnecessary time wastage. Therefore, a extracting news from web sources, and for some other things.
voice enabled personal assistant will help automating this
We will be sending a request, and through the API, we’re
process. User is expected just to give a voice command, and
getting the respective output. API’s like
the assistant will take care of the rest. The paper indicates the
WOLFRAMALPHA, are very helpful in performing things
usage of a Voice enabled personal assistant and it can enable
an individual to get things done with voice commands, and like calculations, making small web searches. And for getting
can save a lot of their time as well. the data from web, not every API will have the capability to
convert the raw JSON data into text. So, we used a library
called JSON, and it will help in parsing the JSON Data
Manuscript received on April 07, 2021. coming form websites, to string format. In this way, we are
Revised Manuscript received on April 12, 2021. able to extract news from the web sources, and send them as
Manuscript published on April 30, 2021. input to a function for further purposes. Also, we have
* Correspondence Author libraries like Random and many other libraries, each
Dr. V. Geetha, Assistant Professor, CSE Department, SCSVMV
Deemed to be University, Kanchipuram, Tamil Nadu.
corresponding to a different technology. We used the library
Dr. C K Gomathy*, Assistant Professor, CSE Department, OS to implement Operating System related functionalities
SCSVMV Deemed to be University, Kanchipuram, Tamil Nadu. like Shutting down a system,
Mr. Kottamasu Manasa Sri Vardhan, UG Scholar CSE
Department, SCSVMV Deemed to be University, Kanchipuram,
Tamil Nadu.
Mr. Nukala Pavan Kumar, UG Scholar CSE Department,
SCSVMV Deemed to be University, Kanchipuram, Tamil Nadu.

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.

V SYSTEM ARCHITECTURE Fig 3: Introducing itself


This Assistant consists of three modules. First is, assistant • Reading out news—If the user asks the assistant to read
accepting voice input from user. Secondly, analysing the out some news, the assistant will display the new line by
input given by the user, and mapping it to the respective line and it will also read out the news.
intent and function. And the third is, the assistant giving user
the result all along with voice.

Fig 4: Reading news

Fig 1: Block Diagram

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.

Fig 5: Taking a short note

• Showing Note—If the user asks the assistant to display the


note, and to speak out the note, the assistant will do so. Fig 9: Assistant opening MS Word

Fig 10: Assistant opening MS Excel


Fig 6: Notes, saved in a notepad file

• YouTube searches—If the user asks the assistant to do


some YouTube searches, the assistant will do that. It will
ask the user, what to search in YouTube. After receiving
the input, it will open the YouTube page with that
respective search.

Fig 11: Assistant opening MS Power point


• Performing Calculations—If the user asks the assistant to
do some calculations, the assistant will speak out the result

Fig 7: Asking assistant to open YouTube


• Web Searches—If the user asks the assistant to do some
web searches, the assistant will also do that. It will ask the
user to search for what, and it will open the google search in
a new tab of browser.

Fig 12: Assistant doing calculations

Fig 8: Assistant doing google search

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

Service, Published By International Journal Of Advanced Engineering


Research And Science (IJAERS), Vol-3, Issue-4 , April- 2016] ISSN:
2349-6495
• Taking Screenshots—If the user asks the assistant to take 7. C.K.Gomathy And Dr.S.Rajalakshmi.(2014),"A Business Intelligence
screenshots, the assistant will take a screenshot, and will Network Design For Service Oriented Architecture", International
Journal Of Engineering Trends And Technology (IJETT) ,Volume IX,
save it in a particular location.
Issue III, March 2014, P.No:151-154, ISSN:2231-5381.
8. “VIRTUAL PERSONAL ASSISTANT (VPA) FOR MOBILE USERS”
9. D. SOMESHWAR, DHARMIK BHANUSHALI, SWATI NADKARNI,
“IMPLEMENTATION OF VIRTUAL ASSISTANT WITH SIGN LANGUAGE
USING DEEP LEARNING AND TENSORFLOW”
10. C.K.Gomathy.(2010),"Cloud Computing: Business Management For
Effective Service Oriented Architecture" International Journal Of
Power Control Signal And Computation (IJPCSC), Volume 1, Issue
IV, Oct - Dec 2010, P.No:22-27, ISSN: 0976-268X.
11.Dr.C K Gomathy, Article: A Semantic Quality Of Web Service
Information Retrieval Techniques Using Bin Rank, International
Journal Of Scientific Research In Computer Science Engineering And
Information Technology ( IJSRCSEIT ) Volume 3 | Issue 1 | ISSN :
2456-3307, P.No:1563-1578, February-2018
12.Dr.C K Gomathy, Article: A Scheme Of ADHOC Communication Using
Mobile Device Networks, International Journal Of Emerging
Fig 13: Assistant taking a screenshot Technologies And Innovative Research ( JETIR ) Volume 5 | Issue 11 |
• Locating a place—If the user asks the assistant to locate a ISSN : 2349-5162, P.No:320-326, Nov-2018.
13. Dr.C K Gomathy, Article: Supply Chain-Impact Of Importance And
place, the assistant will open the Google Map with that
Technology In Software Release Management, International Journal
location Of Scientific Research In Computer Science Engineering And
Information Technology ( IJSRCSEIT ) Volume 3 | Issue 6 | ISSN :
2456-3307, P.No:1-4, July-2018
14. Hemalatha. C.Kand N. Ahmed Nisar (2011)., Explored Teachers’
Commitment In Self Financing Engineering Colleges, International
Journal Of Enterprise Innovation Management Studies (IJEIMS),
Vol2. No2. July-Dec 2011 ISSN: 0976-2698 Retrieved From
Www.Ijcns.Com
15.Dr.C K Gomathy, Article: The Efficient Automatic Water Control Level
Management Using Ultrasonic Sensor, International Journal Of
Computer Applications (0975 – 8887) Volume 176 – No. 39, July
2020.
16.C K Gomathy And V Geetha. Article: A Real Time Analysis Of Service
Based Using Mobile Phone Controlled Vehicle Using DTMF For
Accident Prevention. International Journal Of Computer
Applications 138(2):11-13, March 2016. Published By Foundation Of
Fig 14: Assistant locating a place in Google Maps Computer Science (FCS), NY, USA,ISSN No: 0975-8887

VII CONCLUSION AUTHORS PROFILE


This paper presents a comprehensive overview of the design
Dr.V.Geetha, is assistant professor in computer science
and development of a Voice enabled personal assistant for pc and engineering at Sri Chandrasekharendra Saraswathi
using Python programming language. This Voice enabled Viswa Mahavidyalaya , Enathur,Kanchipuram,India. Her
personal assistant, in today's life style will be more effective area of intrest lies in Java Programming,Software Quality
Assurance,Computer System Architecture Domain.
in case of saving time, compared to that of previous days.
This Personal Assistant has been designed with ease of use as Dr C,K,Gomathy, is Assistant Professor in CSE at Sri
the main feature. The Assistant works properly to perform Chandrashekarendra Saraswathi Viswa Mahavidyalaya
some tasks given by user. Furthermore, there are many things deemed to be university, Enathur, Kanchipuram, India. Her
area of Intrest is Software Engineering Web Services,
that this assistant is capable of doing, like turning our PC off,
Knowledge Management and IOT.
or restarting it, or reciting some latest news, with just one
voice command.
Kottamasu Manasa Sri Vardhan, student, B.E.
REFERENCES Computer Science and Engineering, SCSVMV Deemed to
be university,Enathur.
1. Elizabeth Sucupira Furtado, Virgilio Almedia And Vasco Furtado,
“Personal Digital Assistants: The Need Of Governance”
2. Zecheng Zhan, Virgilio Almedia, And Meina Song, Nukala Pavan Kumar, student, B.E. Computer Science
“Table-To-Dialog: Building Dialog Assistants To Chat With People and Engineering,, SCSVMV Deemed to be
On Behalf Of You” university,,Enathur.
3. Yusuf Ugurlu, Murat Karabulut, Islam Mayda “A Smart Virtual
Assistant Answering Questions About COVID-19” Mathangi Sri .
“NLP In Virtual Assistants”
4. Anxo Pérez, Paula Lopez-Otero, Javier Parapar. “Designing An
Open-Source Virtual Assistant”
5. C K Gomathy And V Geetha. Article: A Real Time Analysis Of
Service Based Using Mobile Phone Controlled Vehicle Using DTMF
For Accident Prevention. International Journal Of Computer
Applications 138(2):11-13, March 2016. Published By Foundation Of
Computer Science (FCS), NY, USA,ISSN No: 0975-8887
6. Dr.C.K.Gomathy , K. Bindhu Sravya , P. Swetha , S.Chandrika
Article: A Location Based Value Prediction For Quality Of Web

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

You might also like