The web application, built with Flask, serves as an educational tool designed to enhance the process of learning English. This site features over 8000 commonly used English words, providing detailed information along with visual aids sourced from Google Images. This documentation outlines the core functionalities, project structure, and essential technical details.
-
Word Display The site presents users with information about a random word from the database, including:
- The word itself
- Phonetic transcription
- Russian translation
-
Image Visualization Each word is accompanied by an image retrieved from Google search results. This feature enriches the learning experience by providing visual associations to aid in word retention.
app.py: The main Flask script that handles routing and template rendering.templates/index.html: The HTML template that displays the word information and associated image.static/: Directory for storing static files, such as images.
-
Flask and Jinja2
- Flask is used to develop the web application, while Jinja2 handles HTML templating. Routes are defined in
app.py, and templates are located in thetemplatesdirectory.
- Flask is used to develop the web application, while Jinja2 handles HTML templating. Routes are defined in
-
Image Retrieval with icrawler
- The
icrawlerlibrary is utilized to fetch images from Google.
- The
-
Running the Project
- Execute the following command:
python app.py
- The site will then be accessible at http://127.0.0.1:5000/.
- Execute the following command:
The developed web application offers a unique educational experience by integrating word information with visual imagery, providing a user-friendly interface for learners. This site is a valuable tool for both beginners and those looking to deepen their language skills.