- ✨ AI-powered Japanese exam practice
A lightweight Python application for generating and practicing mock Japanese exams (JLPT/JPT).
It uses AI to create exam questions, supports listening with audio playback 🎧, and allows saving/loading exams for repeated practice.
- 📝 Generate mock exams (JLPT or JPT) with customizable difficulty by AI.
- 📖 Covers Kanji, Vocabulary, Grammar, Reading, and Listening sections.
- 🔊 Listening questions include audio playback.
- 💾 Save exams to CSV and reload them later.
- 🎯 Interactive quiz mode with scoring and explanations.
- 🐍 Python 3.9+
- Dependencies:
- 🤖 openai (API, Base URL, AI Model)
- 🔉 gtts
- 🎮 pygame
- 📦 Standard libraries: os, sys, json, re, csv, time, datetime
- 📂 Clone or download the repository.
- 📥 Install dependencies:
pip install openai gTTS pygame
▶️ Run the application:
python main.py
API settings are stored in data/api.txt (API Key, Base URL, Model).
Generated exams are saved in data/questions/.
This project is for educational purposes.