Speech Recognition Assistant is a Python project that utilizes speech recognition and text-to-speech capabilities to create an interactive voice assistant. It allows you to perform various tasks and interact with your computer using voice commands.
- Speech recognition to understand voice commands
- Text-to-speech functionality to provide audible responses
- Play YouTube videos with the
play
command - Get the current time with the
time
command - Retrieve information about a person from Wikipedia with the
who is
command - Tell jokes using the
joke
command - Search the web with the
search
command - Open applications on your system with the
open
command - Shutdown or restart your system with the
shutdown
andrestart
commands - Generate code based on a given prompt with the
generate code
command
To run the Speech Recognition Assistant, follow these steps:
- Clone the repository:
git clone(https://github.com/AbinandhMJ/Python-ALEXA-SpeechRecognition-Assistant)
- Navigate to the project directory:
cd Speech-Recognition-Assistant
- Install the required dependencies:
pip install -r requirements.txt
-
Run the script:
python main.py
-
Make sure you have a working microphone connected to your system.
-
Start speaking commands when prompted with "Listening..."
-
The assistant will recognize your voice command and perform the corresponding action.
-
Here are some of the things that the assistant can do:
* Play music
* Search the web
* Tell you the time
* Give you the weather forecast
* Set alarms and reminders
* Control your smart home devices
* Translate languages
* Generate code
* Write different kinds of creative content
Contributions to the Speech Recognition Assistant project are welcome. If you encounter any issues, have suggestions for improvements, or want to add new features, please feel free to submit a pull request.
Please make sure to update tests as appropriate.
This project is licensed under the MIT License. If you have any further questions, feel free to ask!