Anki add-on: Japanese Glossary Generator

Japanese Glossary Generator Automatically generate comprehensive glossaries for Japanese text with hiragana, katakana, and kanji information using external APIs. 🌟 Features Automatic Glossary Generation : Processes Japanese text and creates detailed glossaries with readings and meanings Multi-Character Support : Handles hiragana, katakana, and kanji characters seamlessly Batch Processing : Process hundreds of notes efficiently with customizable performance settings Smart Caching : Intelligent API response caching to improve performance and reduce redundant calls Real-time Progress Tracking : Monitor processing with detailed statistics and ETA calculations Customizable Output : Flexible HTML templates for glossary formatting Professional UI : Modern, user-friendly interface with comprehensive settings 📚 What It Does This add-on takes Japanese text from your cards and automatically generates comprehensive glossaries that include: For Hiragana & Katakana: Character with romaji pronunciation Example: あ: a, か: ka, ア: a For Kanji: All readings (On'yomi and Kun'yomi) with romaji English meanings and definitions Organized in clear, readable tables Example Output: Hiragana • あ: a • い: i Katakana • ア: a • イ: i Kanji ┌─────────┬────────────────────────────────┐ │ Kanji │ 人 │ ├─────────┼────────────────────────────────┤ │ Readings│ • On: ジン (jin), ニン (nin) │ │ │ • Kun: ひと (hito) │ ├─────────┼────────────────────────────────┤ │ Meanings│ person, human being │ └─────────┴────────────────────────────────┘ 🚀 Quick Start Install the add-on and restart Anki Go to Tools → Japanese Glossary Generator → Generate Glossary in Batch... Select your deck and note type Choose source field (containing Japanese text) Choose target field (where glossary will be added) Click OK and watch the magic happen! ⚙️ Advanced Configuration Performance Settings Parallel Workers : Control how many notes are processed simultaneously Batch Size : Optimize processing speed for your system API Delays : Customize delays to respect API rate limits Content Options Toggle hiragana, katakana, or kanji inclusion Enable/disable romaji readings Include/exclude English meanings Handle existing glossary content Caching System Smart Caching : Automatically caches API responses Configurable Size Limits : Control cache file size Periodic Saving : Automatic cache persistence Manual Management : Clear cache when needed 🔧 Technical Details APIs Used Romaji2Kana API : For character reading conversions KanjiAPI : For kanji information and meanings System Requirements Anki 2.1.50+ Internet connection for API access Python 3.8+ (included with Anki) Performance Processes 100+ notes per minute (depending on content) Intelligent caching reduces repeated API calls Configurable batch processing prevents system overload 📖 Use Cases Perfect for: Japanese Learners : Automatically generate study materials Language Teachers : Create comprehensive learning resources Deck Creators : Add professional glossaries to shared decks Advanced Students : Batch process large collections of Japanese content Example Scenarios: Add glossaries to sentence cards Create vocabulary reference sheets Process imported Japanese texts Generate study aids for reading practice 🛠️ Troubleshooting Common Issues & Solutions No glossaries generated? Verify the source field contains Japanese text Check internet connection for API access Processing too slow? Adjust batch size in settings (try 25-50 notes) Reduce parallel workers if system is struggling API errors? Check the log file via Tools → Japanese Glossary Generator → About → View Log Verify external APIs are accessible Performance Optimization Tips Start with smaller batches and increase gradually Enable caching to speed up repeated processing Adjust worker counts based on your system's capabilities Monitor the progress dialog for optimal settings 🔗 Support & Updates GitHub Repository : japanese-glossary-generator Issues & Bug Reports : Use GitHub Issues Feature Requests : Submit via GitHub Documentation : Complete guides available in repository 📄 License Open source software provided under MIT License. See repository for full terms. 🙏 Credits Author : Misael Filho (jukmisael) External APIs : Romaji2Kana API, KanjiAPI Community : Thanks to all users providing feedback and suggestions Transform your Japanese study experience with automated, professional glossaries. Download now and start generating comprehensive study materials in minutes!

GitHub repository: jukmisael/japanese-glossary-generator
Languages: Python