Dictionary using API!
A sleek, modern dictionary desktop app built using Python's tkinter GUI, powered by the Free Dictionary API. It allows you to search for word meanings, synonyms, antonyms, and even hear the results aloud. It also supports voice input and keeps track of your search history.
β¨ Features π Search Meaning: Enter a word to get definitions, synonyms, and antonyms.
π Text-to-Speech: Hear the meaning read aloud.
π€ Voice Input: Speak a word to search using your microphone.
π Search History: View all previously searched words.
ποΈ Clear History: Remove all saved search history.
π Logging: Logs any unexpected errors to dictionary.log for easy debugging.
π οΈ Technologies Used Python 3
tkinter β GUI
requests β API calls
pyttsx3 β Offline Text-to-Speech
speech_recognition β Voice input
logging β Error logging
π· GUI Preview
π‘ You can replace the image link with a real screenshot of your app.
π Getting Started π§ Prerequisites Make sure you have the following Python libraries installed:
bash Copy Edit pip install requests pyttsx3 SpeechRecognition If using voice input, you may also need:
bash Copy Edit pip install pyaudio For Windows, if pyaudio gives errors, install it using:
bash Copy Edit pip install pipwin pipwin install pyaudio π§© How to Run bash Copy Edit python your_script_name.py π Files main.py β Your main GUI and app logic
dictionary.log β Stores runtime errors Screenshot 2025-04-14 125808
word_history.txt β Keeps a record of searched words
π§ Inspiration This project was built to provide a beautiful, beginner-friendly dictionary tool with modern features like voice input and TTS, ideal for learners and developers alike.