A Python-based interactive educational application that helps users learn spelling. This application uses Speech Recognition to listen to words spoken by the user and uses Text-to-Speech (TTS) to repeat the word and spell it out letter-by-letter. It features an animated GUI built with Tkinter.
- Voice Activation: Hands-free interaction using microphone input.
- Real-time Spelling: Instantly spells out any English word spoken by the user.
- Animated GUI: Features a moving Parrot GIF using
tkinterandPIL. - Live Logging: A scrolling console displays the conversation history (User input vs. System response).
- Multithreading: Runs the listening loop on a background thread to keep the GUI responsive without freezing.
- Auto-Exit: Closes the application automatically when the user says "Quit".
- Python 3.x
- Tkinter (GUI)
- SpeechRecognition (Google Web Speech API)
- pyttsx3 (Offline Text-to-Speech)
- Pillow (PIL) (Image/GIF handling)
- Threading (Concurrency)
Before running the code, ensure you have Python installed. You will also need a working microphone.
You need to install the following Python packages:
bash: pip install SpeechRecognition pyttsx3 Pillow pyaudio
Note on PyAudio: If pip install pyaudio fails on Windows, you may need to install it manually using pipwin: bash: pip install pipwin pipwin install pyaudio
Launch the application. You will see the Parrot animation and a console log.
Wait for the log to say "Calibrating microphone...".
Once the Parrot says "Hi friend...", speak any English word clearly into your microphone.
Example: You say "Elephant".
Parrot: "The word is Elephant. Letters are: E. l. e. p. h. a. n. t."
To close the application, simply say "Quit". The parrot will tell you how many words you learned and the window will close.