International Research Journal of Engineering and Technology (IRJET)
e-ISSN: 2395-0056
Volume: 07 Issue: 12 | Dec 2020
p-ISSN: 2395-0072
www.irjet.net
VIRTUAL MASTER USING PYTHON Ayushi Ankita Rakshit Student, Dept. of Electronics and Communication Engineering, Asansol Engineering College, West Bengal, India ---------------------------------------------------------------------***----------------------------------------------------------------------
Abstract - Virtual Master is a virtual assistant or a software agent like ‘Ok Google’, ‘Hi Alexa’ or ‘Hello Siri’ who can understand natural language voice commands and complete the specified task for the user. This paper is a technical brief on Virtual Master and its applications. Major modules needed for this Virtual Master are also described. 1. INTRODUCTION A Virtual Master can tell the current date, current time, responds back with a random greeting, can returns information on a person and many more things. To perform these tasks, Virtual Master must have three basic skills: 1. Word Processing Skill 2. Good Oral communication 3. Quick thinking and effective decision making This is really an interesting thing and it is possible using Python, because Python offers a good major library. Using Python version 3.9.0 and PyCharm IDE commands will be given to the system. 1.1 The modules needed for this Virtual Master are as follows: 1.
PyAudio (version 0.2.11): PyAudio is a basic Python library which is used to play and record audio. It provides Python bindings for PortAudio, the cross-platform audio I/O library. Command to install this module: pip install PyAudio
2.
SpeechRecognition (version 3.8.1): It is used to convert audio into text for processing. Command to install this module: pip install SpeechRecognition
3.
gTTS (version 2.2.1): gTTS is the Google Text to Speech API which converts the text into audio and can be saved as a mp3 file. Command to install this module: pip install gTTS
4.
Wikipedia (version 1.4.0): It is a Python library that makes it easy to access and parse data from Wikipedia. Command to install this module: pip install Wikipedia
2. FULL PROCEDURE: 1. Create a new project file in PyCharm IDE in virtual environment. 2. Import the libraries: 1. import speech_recognition as sr 2. import os
© 2020, IRJET
|
Impact Factor value: 7.529
|
ISO 9001:2008 Certified Journal
|
Page 46