Virtual Assistance Using Python
Virtual Assistance Using Python
IJARSCT
International Journal of Advanced Research in Science, Communication and Technology (IJARSCT)
Abstract: The paper explores the potential of utilizing new technology to develop an intelligent Virtual
Assistant that is capable of using natural language processing and user-based data. It examines existing
intelligent programs with different categories of support and evaluates the potential usefulness of a
particular software as a Virtual Assistant. The proposed Virtual Assistant should be able to communicate
socially through natural language processing, store and analyze user data, and operate without the need
for human input or programming. The paper suggests that with advancements in technology, creating
virtual personal assistants could become a reality. The authors conducted experiments on a specific
software and performed user testing, which demonstrated that a basic program with natural language
processing algorithms could already be viable. Overall, the paper presents the idea of an intelligent Virtual
Assistant that could revolutionize the way we interact with technology.
Keywords: Python programming language, Natural Language Processing (NLP), Wolfram Alpha API,
desktop assistants, machine learning, text-to-speech, speech-to-text, language processing, voice recognition,
artificial intelligence, Internet of Things (IoT), and virtual assistants.
I. INTRODUCTION
The primary objective of this project is to create a straightforward and self-contained application that can assist
individuals with limited technical expertise or computer literacy in using their computers. As computers have become
increasingly affordable and indispensable in daily life, this application aims to provide a solution for those who may
feel overwhelmed by technology.
The application functions in a manner similar to popular virtual assistants such as Siri and Google Assistant, with a
focus on providing assistance for personal computers. Users can access the virtual assistant through voice commands,
keyboard inputs, or remotely via the internet.
The system comes with a set of predefined commands, and users have the option of adding their own custom
commands. The virtual assistant can notify users of incoming emails, provide information about the weather and their
location, and even reveal IP addresses, MAC addresses, and wireless network passwords. Additionally, users can use
voice commands to perform system tasks like shutting down or putting their computer to sleep.
The application also includes a note-taking feature. The system boasts an interface that can take inputs and produce
outputs. For various tasks, such as time management and search, there are separate modules. The interface utilizes these
modules to execute commands and perform tasks in an efficient and user-friendly manner. The ultimate goal is to make
computer usage simpler for individuals with limited technical expertise and promote ease of use.
This project centers around the development of a Windows-based personal assistant utilizing voice recognition
technology. The application provides a range of services and functions, including mail sending, event handling, location
services, music player support, weather checks, Google and Wikipedia search engines, camera integration, and
Bluetooth headset compatibility. By integrating several commonly used desktop services, this program has the potential
to significantly enhance daily life and make it more convenient. Moreover, it can be especially helpful for individuals
with physical disabilities who may face challenges with manual operations. This program was inspired by Apple's
popular virtual assistant, "Siri," which is part of the reason why it was chosen as the subject for a diploma project.
This application was initially launched in conjunction with the release of the iPhone4S. It's a highly engaging and user-
friendly tool with broad applicability and considerable potential for further development. It's not limited to any
particular generation or profession, and can be deployed across a wide range of industries. However, as it's currently
only available for Apple's iOS, we've introduced a "Virtual Assistant" for personal computers to address this limitation.
Voice assistance is particularly valuable for personal assistants, navigation, driving, and supporting individuals with
disabilities, among other use cases.
Wikipedia describes "Siri" as an intelligent personal assistant and knowledge navigator designed for use with Apple's
iOS. The application leverages a natural language user interface to answer questions, offer recommendations, and
perform actions by delegating requests to a set of web services. According to Apple, the software adapts to individual
user preferences over time, personalizing results and completing tasks such as identifying nearby restaurants and
providing directions.
B. Information Retrieval
The program encompasses a range of functions and services, including mail exchange, mathematical calculations,
location services, music player service, weather checking, Google and Wikipedia search engines, camera, Bluetooth
headset support, IP address finding, Saved Wi-Fi passwords finding, and a help menu. Each function has specific
information and requirements, as outlined below.
Mail exchange allows customers to send emails to individuals in their contacts. A correct command containing the mail
request keyword and destination person should result in the recipient receiving the email.
Location services enable users to check their current location or find a desired destination. Depending on the request
category, the user should receive an easily understandable map with the relevant locations.
The music player service offers users the ability to play a specific or randomly selected song from the prestored song
list on their desktop PC. The music can be stopped at any time.
The weather checking function allows users to check the weather in any location, with information such as temperature
and humidity included. Additionally, users can check the weather for the current day, tomorrow, or the next four days.
The program includes a Google search engine that allows users to search for anything on Google, with the results
displayed on their web browser. There is also a Wikipedia search engine that enables users to search for anything on
Wikipedia, with the searched content displayed on the browser.
The camera function calls the mobile phone camera to take a picture of the current view, which is then stored in the
gallery for later viewing and operation.
To overcome the issue of voice recognition being difficult when the music player is playing or the surroundings are
noisy, the program offers Bluetooth headset support, allowing users to speak to the headset rather than the PC if
enabled.
The program also features an application opening and closing service, enabling users to open any installed applications
such as MS Word, MS PowerPoint, Paint, Notepad, IDEs, Text Editors, File Explorer, and more.
For programmers and IT personnel, the program includes an IP address service that allows users to find the hostname
and IP address of their PC, as well as a MAC address finding service.
A wireless network password finding service is also available to find saved WiFi passwords, while a note writing
service uses the speech-to-text module for easy Dictation.
The program also includes a joke service for entertainment purposes, a time and date service for telling the current time,
date, or day, and a calculation service for mathematical operations such as multiplication, division, sin, cos values, and
more.
C. Theory Model
This project encompasses various aspects of software engineering principles, software development models, Python
programming skills, APIs, and network communication technologies. The use of APIs and web services in this project
is focused on the Wolfram Alpha API, eliminating the need for developers to write additional code as the API handles
the execution. Therefore, API serves as an important concept and guides the development theory
The Wolfram Alpha Web service API provides a web-based API that facilitates the integration of Wolfram Alpha's
computational and presentation capabilities into web, mobile, desktop, and enterprise applications. Wolfram Alpha is an
API that utilizes Wolfram's algorithms, knowledgebase, and AI technology to compute expert-level answers. This
functionality is made possible by the Wolfram Language. This article provides instructions on how to create a simple
assistant application in Python that can answer basic questions.
Figure 1
Copyright to IJARSCT DOI: 10.48175/IJARSCT-9131 286
www.ijarsct.co.in
ISSN (Online) 2581-9429
IJARSCT
International Journal of Advanced Research in Science, Communication and Technology (IJARSCT)
The user's input will be sent to Wolfram Alpha for processing. If a response is received, it will be returned to the user. If
no response is received, the input will be interpreted as a keyword(s) and used for a Wikipedia search query.
IV. CONCLUSION
The Project Development and Implementation
The program focuses mainly on developing Windows-based software using Python programming language, various
APIs for Google products, and API for mathematical operations, among others. The project was developed by a team of
three developers and follows the Incremental model and Extreme programming model. During the six-month
development process, the team followed the same cycle in each phase of analyzing requirements, designing,
implementing solutions in pair programming mode, and testing the results. The development process was guided by a
primary planning strategy that defined how to work with the program, how much time to spend each week, the
necessary resources for development, and how to handle problems that arose.
The project was efficiently completed under this development model, and the resources found early on were useful
during implementation.
systems. Additionally, the program's voice-operated feature is helpful for people who prefer voice operation and those
who have difficulties/disabilities with manual operations. The primary objective of the program is to provide services
using voice and make it accessible to more people.
REFERENCES
[1]. S Subhash; Prajwal N Srivatsa; S Siddesh; A Ullas; B Santhos. Artificial Intelligence-based Voice Assistant,
IEEE, 2020. https://ieeexplore.ieee.org/document/9210344/
[2]. EV Polyakov, MS Mazhanov, AY Voskov, LS Kachalova, MV and SV Polyakov, "Investigation and
development of the intelligent voice assistant for the IOT using machine learning", Moscow workshop on
electronic technologies, 2018.
[3]. Veton Kepuska and Gamal Bohota, "Next generation of virtual assistant (Microsoft Cortana Apple Siri
Amazon Alexa and Google Home)", IEEE conference, 2018.
[4]. Laura BURbach, Patrick Halbach, Nils Plettenberg, Johannes Nakyama, Matrina Ziefle and Andre Calero
Valdez, "Ok google Hey Siri Alexa. Acceptance relevant of virtual voice assistants", International
communication conference IEEE, 2019
[5]. X. Lei, G. Tu, A. X. Liu, C. Li and T. Xie, "The insecurity of home digital voice assistants - amazon alexa as
a case study", CoRR, vol. abs/1712.03327, 2017.
[6]. J. Gratch, N. Wang, J. Gerten, E. Fast and R. Duffy, "Creating rapport with virtual agents" in Intelligent
Virtual Agents, Berlin, Heidelberg:Springer Berlin Heidelberg, pp. 125-138, 2017.
[7]. B. Weiss, I. Wechsung, C. Kühnel and S. Möller, "Evaluating embodied conversational agents in multimodal
interfaces", Computational Cognitive Science, vol. 1, pp. 6, Aug 2015.
[8]. Y. Matsuyama, A. Bhardwaj, R. Zhao, O. Romeo, S. Akoju and J. Cassell, "Socially-aware animated
intelligent personal assistant agent", Proceedings of the 17th Annual Meeting of the Special Interest Group
on Discourse and Dialogue, pp. 224-227, 2016.
[9]. M. Schroeder, E. Bevacqua, R. Cowie, F. Eyben, H. Gunes, D. Heylen, et al., "Building autonomous
sensitive artificial listeners", IEEE transactions on affective computing, vol. 3, pp. 165-183, 2018.
[10]. Hannun, C. Case, J. Casper, B. Catanzaro, G. Diamos, E. Elsen, et al., "Deep speech: Scaling up end-to-end
speech recognition", CoRR, vol. abs/1412.5567, 2014.
[11]. M. Schröder and J. Trouvain, "The german text-to-speech synthesis system mary: A tool for research
development and teaching", International Journal of Speech Technology, vol.
[12]. P. Cosi, F. Tesser, R. Gretter, C. Avesani and M. Macon, "Festival speaks italian!" in EUROSPEECH 2001
Scandinavia 7th European Conference on Speech Communication and Technology 2nd INTERSPEECH
Event, pp. 509-512, 2001.
[13]. D. Huggins-Daines, M. Kumar, A. Chan, A. W. Black, M. Ravishankar and A. I. Rudnicky, "Pocketsphinx:
A free real-time continuous speech recognition system for hand-held devices" on Acoustics Speech and
Signal Processing Proceedings, May 2018
[14]. Think Python Book, Allen Downey
[15]. A Python Book Author: Dave Kuhlman
[16]. Python by Narayana Book