Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/bniladridas/voice-assistant-chatbot
- Owner: bniladridas
- License: mit
- Created: 2024-03-27T15:02:08.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-09T06:20:09.000Z (4 months ago)
- Last Synced: 2024-10-20T05:40:52.776Z (2 months ago)
- Topics: audio-playback, chatbot, sentiment-analysis, speech-recognition, text-to-speech-conversion
- Language: Python
- Homepage:
- Size: 2.34 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.