Skip to content

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.

License

Notifications You must be signed in to change notification settings

ShokhrukhbekYuldoshev/Dictionary-Telegram-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dictionary Telegram Bot

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.

Features

  • 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.

Getting Started

Prerequisites:

  • Python 3.8 or higher
  • Python-Telegram-Bot library
  • Requests library

Installation:

  1. Clone this repository to your local machine.
  2. Install the required libraries using pip install -r requirements.txt.

Environment Variables:

Create a .env file in the project directory and set your Telegram bot token as BOT_TOKEN.

Usage:

  1. Run the bot using python main.py.
  2. Start a chat with the bot on Telegram and send a word to get its definition.

Deployment

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • 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.

Contributing

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.

Contact

If you have any questions or need assistance, you can contact the bot creator: Shokhrukhbek Yuldoshev.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Languages