Dictionary Bot is a Telegram bot designed to help you quickly find definitions, pronunciations, and more for English words. Whether you're a language enthusiast, a student, or simply curious about words, Dictionary Bot is here to assist you in expanding your vocabulary and understanding.
- Word Definitions: Send a word to Dictionary Bot, and it will provide you with its definition, part of speech, and example usage.
- Phonetic Transcriptions: Wondering how to pronounce a word? Dictionary Bot offers phonetic transcriptions for multiple English accents, including UK, US, and AU.
- Audio Pronunciations: Listen to the correct pronunciation of words with audio samples available for many entries.
- Word Origin: Discover the etymology and history behind words to deepen your understanding.
- Synonyms and Antonyms: Explore synonyms to expand your vocabulary and learn antonyms for a well-rounded language experience.
- Source Information: Dictionary Bot provides source URLs for word entries, ensuring you can access more details and references.
- Python 3.8 or higher
- Python-Telegram-Bot library
- Requests library
- Clone this repository to your local machine.
- Install the required libraries using
pip install -r requirements.txt
.
Create a .env
file in the project directory and set your Telegram bot token as BOT_TOKEN
.
- Run the bot using
python main.py
. - Start a chat with the bot on Telegram and send a word to get its definition.
You can host this bot on a platform like PythonAnywhere, Heroku, or your own server. Make sure to set up environment variables for your deployment environment.
This project is licensed under the MIT License - see the LICENSE file for details.
- Special thanks to the creators of the Telegram Bot API.
- Data for this bot is sourced from Free Dictionary API.
- Python-Telegram-Bot library is used for the bot's implementation.
Contributions to this project are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or create a pull request.
If you have any questions or need assistance, you can contact the bot creator: Shokhrukhbek Yuldoshev.