Radon is a Flask-based web application designed to create customized language learning worksheets. These worksheets contain vocabulary exercises, translation tasks, and sentence-building activities, which are dynamically generated based on user preferences.
- Dynamic Worksheet Generation: Create language exercises tailored to the desired difficulty level and target language.
- Multilingual Support: Translate and generate exercises in multiple languages using Google Translate.
- Engaging Activities: Includes vocabulary banks, fill-in-the-blank exercises, translation matching, and sentence unscrambling.
- Interactive Frontend: A user-friendly interface powered by Flask and HTML templates.
- app.py:
The main Flask application, which handles routes, user input, and rendering of HTML templates. - generator.py:
The core logic for generating worksheets, including vocabulary selection, translations, and exercise formatting.
-
Clone the Repository:
git clone <repository_url> cd Radon
-
Install Dependencies: Make sure you have Python 3.7 or later installed. Then, install the required libraries:
pip install -r requirements.txt
-
Setup API key : Replace the placeholder API key in
generator.pywith your Google Generative AI key:genai.configure(api_key="YOUR_GOOGLE_GENERATIVE_AI_KEY")
-
Run the Application:
python app.py
The application will run on http://localhost:7116.
- NLTK for the comprehensive natural language tools.
- Google Translate API for multilingual support.
- Flask for its simplicity in building web applications