Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bniladridas/voice-assistant-chatbot

Manage daily tasks, set reminders, and alarms through voice commands.
https://github.com/bniladridas/voice-assistant-chatbot

audio-playback chatbot sentiment-analysis speech-recognition text-to-speech-conversion

Last synced: about 1 month ago
JSON representation

Manage daily tasks, set reminders, and alarms through voice commands.

Awesome Lists containing this project

README

        

![SpeechRecognition](https://img.shields.io/badge/-SpeechRecognition-009688?style=flat-square&logo=python&logoColor=white)
![TextBlob](https://img.shields.io/badge/-TextBlob-009688?style=flat-square&logo=python&logoColor=white)
![gTTS](https://img.shields.io/badge/-gTTS-009688?style=flat-square&logo=python&logoColor=white)
![playsound](https://img.shields.io/badge/-playsound-009688?style=flat-square&logo=python&logoColor=white)
![Python](https://img.shields.io/badge/-Python-3776AB?style=flat-square&logo=python&logoColor=white)

# 🎙️ Voice Assistant Chatbot

Welcome to the Voice Assistant Chatbot repository! This cutting-edge project showcases a Python-based voice assistant chatbot designed to seamlessly integrate with your daily activities. The chatbot harnesses the power of advanced libraries to deliver a high-quality interactive experience by understanding and responding to user speech in real time.

## 🚀 Getting Started

### 1. Prerequisites

Ensure Python is installed on your machine. You can download the latest version from the [official Python website](https://www.python.org/downloads/).

### 2. Install Required Libraries

Install the necessary libraries using pip. Open your terminal or command prompt and execute the following commands:

```bash
pip install SpeechRecognition TextBlob gTTS playsound
```

### 3. Running the Chatbot

Execute the `src.py` script to start the chatbot:

```bash
python src.py
```

### 4. Interacting with the Chatbot

Engage with the chatbot by speaking into your microphone. It will process your input and respond accordingly. To stop the chatbot, simply say "stop."

## ✨ Functionality

The Voice Assistant Chatbot provides an array of impressive features:

- **Speech Recognition:** Converts spoken words into text using Google's Web Speech API.
- **Sentiment Analysis:** Assesses the sentiment of the user's input through TextBlob.
- **Text-to-Speech Conversion:** Transforms response text into speech via gTTS.
- **Dynamic Responses:** Generates context-aware responses based on user input and sentiment analysis.

## 💡 Use Cases

- **Personal Assistant:** Manage daily tasks, set reminders, and alarms through voice commands.
- **Customer Support:** Automate responses to common queries and perform sentiment analysis to gauge customer satisfaction.
- **Educational Tool:** Answer questions, provide explanations, and offer study tips to assist students.
- **Accessibility Aid:** Convert spoken commands into actions and provide audio feedback for individuals with disabilities.
- **Entertainment:** Tell jokes, share interesting facts, and engage users in casual conversation.
- **Language Learning:** Help users practice pronunciation and understanding through interactive dialogue.
- **Smart Home Control:** Integrate with smart home devices to control lights, thermostats, and other appliances via voice commands.

## 📚 Topics Covered

- General Knowledge
- Weather Updates
- News
- Jokes and Trivia
- Health Tips
- Technology
- Recipes
- Sports
- Music
- Movies and TV Shows
- Travel
- Language Learning
- Finance
- Educational Content
- Motivational Quotes

## 📂 File Structure

- `src.py`: The core script that operates the chatbot.

## 🤝 Contributing

We welcome contributions to enhance the functionality of the Voice Assistant Chatbot. If you have suggestions or feature ideas, please [open an issue](https://github.com/niladrridas/voice-assistant-chatbot/issues) or [submit a pull request](https://github.com/niladrridas/voice-assistant-chatbot/pulls).

## 📜 License

This project is licensed under the [MIT License](https://github.com/niladrridas/voice-assistant-chatbot/blob/main/LICENSE). For more details, please refer to the `LICENSE.md` file.

## 🙏 Acknowledgements

- **[SpeechRecognition](https://github.com/Uberi/speech_recognition):** A versatile Python library for speech recognition, supporting various engines and APIs.
- **[TextBlob](https://github.com/sloria/TextBlob):** A powerful library for processing textual data in Python.
- **[gTTS](https://github.com/pndurette/gTTS):** A Python library and CLI tool for interfacing with Google's Text-to-Speech API.
- **[playsound](https://github.com/TaylorSMarks/playsound):** A simple Python module for playing sound files across different operating systems.