Skip to content

This project will demonstrate the integration of voice recognition, Natural Language Processing (NLP), and simple automation using Python.

Notifications You must be signed in to change notification settings

Niththiyapoorani/Python-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Python-Project

This project will demonstrate the integration of voice recognition, Natural Language Processing (NLP), and simple automation using Python.

๐ŸŽ™๏ธ Voice-Activated AI Chatbot

๐Ÿง  Project Overview

The Voice-Activated AI Chatbot is a Python-based assistant that listens to voice commands and performs tasks like searching Wikipedia, opening websites, fetching system information, and responding through speech.
This project demonstrates the integration of Speech Recognition, Text-to-Speech (TTS), and Natural Language Processing (NLP) for intelligent humanโ€“computer interaction.


๐Ÿš€ Features

  • ๐ŸŽค Voice Command Recognition โ€” Converts spoken words into text using speech_recognition.
  • ๐Ÿ—ฃ๏ธ Text-to-Speech Response โ€” Uses pyttsx3 to reply audibly.
  • ๐ŸŒ Wikipedia Search โ€” Retrieves summaries from Wikipedia.
  • ๐Ÿ•“ Time & Date Queries โ€” Tells the current time.
  • ๐ŸŒ Web Automation โ€” Opens websites like Google, YouTube, etc.
  • ๐Ÿ’ป System Commands โ€” Executes shutdown, restart, and other OS-level commands.
  • ๐Ÿ“ Custom Commands โ€” Add personalized functions such as note-taking or reminders.
  • โš™๏ธ Error Handling โ€” Handles unrecognized speech gracefully.

๐Ÿงฉ Technologies Used

  • Python 3.8+
  • speech_recognition
  • pyttsx3
  • wikipedia
  • webbrowser
  • datetime, os, time, subprocess, ctypes, etc.

๐Ÿ› ๏ธ Setup Instructions

1. Install Dependencies

pip install speechrecognition pyttsx3 wikipedia

โš™๏ธ How It Works

  • The bot listens for a voice command using your system microphone.
  • It processes the speech input and converts it into text.
  • Depending on the command, it: (1)Opens a website. (2)Fetches Wikipedia data. (3)Announces the current time. (4)Executes a system task.
  • The chatbot replies audibly via the pyttsx3 text-to-speech engine.

๐Ÿ’ก Example Commands

Command Description
โ€œOpen Googleโ€ Launches Google in the default browser
โ€œSearch Wikipedia for Albert Einsteinโ€ Fetches a summary from Wikipedia
โ€œWhat is the time?โ€ Speaks the current time
โ€œShutdown the systemโ€ Initiates a system shutdown
โ€œWrite a noteโ€ Creates a text note file

๐Ÿ”ง Optional Enhancements

  • Add a personalized greeting system
  • Include to-do list or reminder functionality

๐Ÿงช Testing

  • Test the chatbot using different microphones and accents.
  • Adjust pause_threshold in the speech_recognition module for better response timing.
  • Validate error handling for unrecognized or empty voice input.

Conclusion

The project demonstrates how Speech Recognition, Text-to-Speech, and Python automation can create an efficient AI voice assistant. It highlights the potential of natural language interfaces and forms a base for future intelligent personal assistants.

๐Ÿง‘โ€๐Ÿ’ป Author

[Niththiyapoorani] ๐Ÿ“ง [https://github.com/Niththiyapoorani] ๐Ÿ“… Year: 2025 ๐Ÿ“˜ Project Type: Python / Business Intelligence / Business Analysis / Data Analysis

About

This project will demonstrate the integration of voice recognition, Natural Language Processing (NLP), and simple automation using Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published