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.
Ensure Python is installed on your machine. You can download the latest version from the official Python website.
Install the necessary libraries using pip. Open your terminal or command prompt and execute the following commands:
pip install SpeechRecognition TextBlob gTTS playsound
Execute the src.py
script to start the chatbot:
python src.py
Engage with the chatbot by speaking into your microphone. It will process your input and respond accordingly. To stop the chatbot, simply say "stop."
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.
- 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.
- 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
src.py
: The core script that operates the chatbot.
We welcome contributions to enhance the functionality of the Voice Assistant Chatbot. If you have suggestions or feature ideas, please open an issue or submit a pull request.
This project is licensed under the MIT License. For more details, please refer to the LICENSE.md
file.
- SpeechRecognition: A versatile Python library for speech recognition, supporting various engines and APIs.
- TextBlob: A powerful library for processing textual data in Python.
- gTTS: A Python library and CLI tool for interfacing with Google's Text-to-Speech API.
- playsound: A simple Python module for playing sound files across different operating systems.