Skip to content

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

License

Notifications You must be signed in to change notification settings

bniladridas/voice-assistant-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpeechRecognition TextBlob gTTS playsound Python

🎙️ 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.

2. Install Required Libraries

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

pip install SpeechRecognition TextBlob gTTS playsound

3. Running the Chatbot

Execute the src.py script to start the chatbot:

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 or submit a pull request.

📜 License

This project is licensed under the MIT License. For more details, please refer to the LICENSE.md file.

🙏 Acknowledgements

  • 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.