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

CS Projects

Uploaded by

kaflebishesh28
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

CS Projects

Uploaded by

kaflebishesh28
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Voice Assistant Project: ROSE

Overview
The Voice Assistant project named Rose is a simple Python-based voice-activated assistant that can
perform various tasks, such as playing music, providing the current time, retrieving information
from Wikipedia, and telling jokes.

Table of Contents

1. Getting Started
- Prerequisites

- Installation
2. Project Structure
3. Usage

- Running the Voice Assistant


4. Code Structure
5. Dependencies

6. Source Code
7. Real-World
Uses 8.About the
Team
9.Bibilography

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:


- Python
https://www.python.org
(version 3.x recommended)

Installation
1. Clone the repository:

2. Navigate to the project directory:

3. Install the required packages:

pip install pyaudio==0.2.11


pip install pyttsx3==3.8.1
pip install pywhatkit==4.7
pip install pyjokes==0.6.0
pip install spacy==3.1.2
pip install wikipedia==1.4.0
pip install speechrecognition==3.8.1

Project Structure

- main.py: The main script that ties together the listening and responding components.

- listen.py: Handles voice recognition and capturing user commands.


- respond.py: Analyzes and responds to user commands based on predefined logic.

Usage
Running the Voice Assistant

1. Open a terminal or command prompt.


2. Navigate to the project directory:

3. Run the voice assistant:

The executable file will be created in the `dist/` directory.


4. Locate and run the generated executable (`main.exe` on Windows).

Code Structure

The code is divided into three main files:

- main.py: Orchestrates the overall functionality of the voice assistant.


- listen.py: Handles voice recognition using the `speech_recognition` library.

- respond.py: Analyzes user commands and generates responses based on predefined logic.

Dependencies

1. speech_recognition
https://pypi.org/project/SpeechRecognition/
Library for performing speech recognition.
2. pyttsx3
https://pypi.org/project/pyttsx3/
Library for text-to-speech conversion.
3. pywhatkit
https://pypi.org/project/pywhatkit/
Library for sending WhatsApp messages and playing YouTube videos.
4. wikipedia
https://pypi.org/project/wikipedia/
Library for interacting with the Wikipedia API.
5. pyjokes
https://pypi.org/project/pyjokes/
Library for fetching programming jokes.
6. spacy
https://pypi.org/project/spacy/
Library for natural language processing.

Source Code
main.py

listen.py
respond.py
Output
Real-World Uses

The voice assistant project can be extended and customized for various real-world applications, such
as:

- Home Automation: Control smart devices in your home with voice commands.
- Information Retrieval: Extend the assistant to provide information on news, weather, or stock
prices.
- Task Automation: Execute specific tasks on your computer with voice commands.
- Language Translation: Integrate translation services for multilingual communication.
The Team
1. Nayan Jha
-The Team Leader is responsible for overseeing the entire project, managing team
members, and ensuring that the project aligns with the overall goals and objectives. Nayan
will provide guidance, make strategic decisions, and facilitate effective communication
within the team.
2. Mega Hang Limbu
- As a Software Developer, Mega Hang Limbu will be primarily involved in coding,
implementing features, and ensuring the overall functionality of the voice assistant project.
He will collaborate with other team members to develop and optimize the codebase.
3. Rohan Pratik Choudhary
-Rohan Pratik Choudhary, as a Natural Language Processing (NLP) Specialist, will focus on
the integration of advanced language processing features within the voice assistant. This
includes enhancing the assistant's ability to understand and respond to user commands
more effectively.
4. Tancho Hang Limbu
-Tancho Hang Limbu will serve as the Quality Assurance (QA) Analyst. In this role, Tancho
will be responsible for testing the voice assistant to identify and report bugs, ensuring the
reliability and robustness of the application. Tancho will play a crucial role in maintaining
the overall quality of the project.

Bibliography
● www.python.org
● www.pypi.org
● www.dataquest.io

You might also like