Japanese Glossary Generator

AnkiWeb addon 1748555869

Generates Japanese glossaries for cards via external APIs, covering hiragana, katakana, and kanji with readings, romaji, and meanings, using batch processing, caching, and configurable templates.
AI-generated summary; may contain mistakes.

card-creationnote-managementdictionary

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2025-07-15
Anki versions
2.1.1~
License
MIT (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

stale

  • Last update or commit: 2025-07-19 (470 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2025-07-15
History across monthly snapshots

Loading…

Similar addons

Japanese Note Auto-Generator

Auto-generates Japanese vocabulary notecards from a word list via the Jisho.org API, including definitions, readings, JLPT level, kanji explanations, furigana and example sentences, placed in a custom deck.

card-creationdictionary

2 votes 0% approval πŸ‘ 0 Β· πŸ‘Ž 2 Anki 2.1.16~ Updated 2021-05-23
Japanese Bulk Card Creator

Creates bulk Japanese vocabulary and phrase flashcards from kanji or words using a bundled dictionary, with field mapping, configurable Hepburn romanization, and optional Jisho audio downloads.

card-creationdictionary

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 0 Anki 25.09.2~ Updated 2025-11-06
LLM Card Fill

Queries Anthropic or OpenAI APIs with custom prompts to fill Anki note fields, supporting batch updates, card creation, and per-note-type configurations.

card-creationainote-management

2 votes 9% approval πŸ‘ 1 Β· πŸ‘Ž 1 ⭐ 1 Anki 26.09~ Updated 2026-09-24
Japanese Card Randomizer

Randomizes Japanese card fonts and optionally swaps hiragana/katakana, displays vertical text, and changes text size during review.

formattingappearance

15 votes 70% approval πŸ‘ 14 Β· πŸ‘Ž 1 ⭐ 6 Anki 2.1.49~ Updated 2022-06-17

Description

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

  1. Install the add-on and restart Anki
  2. Go to Tools β†’ Japanese Glossary Generator β†’ Generate Glossary in Batch...
  3. Select your deck and note type
  4. Choose source field (containing Japanese text)
  5. Choose target field (where glossary will be added)
  6. 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

  1. Start with smaller batches and increase gradually
  2. Enable caching to speed up repeated processing
  3. Adjust worker counts based on your system's capabilities
  4. 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!

README

Japanese Glossary Generator

An Anki add-on that automatically generates comprehensive glossaries for Japanese text with hiragana, katakana, and kanji information.

Features

  • Automatic Glossary Generation: Processes Japanese text and creates detailed glossaries
  • Multi-Character Support: Handles hiragana, katakana, and kanji characters
  • Comprehensive Information: Provides readings, romaji, and meanings for each character
  • Batch Processing: Process multiple notes efficiently with customizable performance settings
  • API Caching: Intelligent caching system to improve performance and reduce API calls
  • Customizable Templates: Flexible HTML templates for glossary formatting
  • Progress Tracking: Real-time progress monitoring with detailed statistics

Installation

  1. Download the add-on from AnkiWeb or install manually
  2. Restart Anki
  3. The add-on will appear in the Tools menu as "Japanese Glossary Generator"

Usage

Basic Usage

  1. Go to Tools β†’ Japanese Glossary Generator β†’ Generate Glossary in Batch...
  2. Select your deck and note type
  3. Choose the source field containing Japanese text
  4. Select or create a target field for the glossary
  5. Click OK to start processing

Settings

Access settings via Tools β†’ Japanese Glossary Generator β†’ Settings...

General Settings

  • Include Hiragana: Include hiragana characters in glossary
  • Include Katakana: Include katakana characters in glossary
  • Include Kanji: Include kanji characters in glossary
  • Include Romaji: Add romaji readings for characters
  • Include Meanings: Add English meanings for kanji
  • Ignore Existing: Skip notes that already have glossary content
  • Force Overwrite: Overwrite existing glossary content

Performance Settings

  • Parallel Workers: Number of notes processed simultaneously per batch
  • API Workers: Number of API calls per note processed simultaneously
  • Batch Size: Number of notes processed in each batch
  • Pause Between Batches: Delay between batches (in milliseconds)
  • Pause per API Call: Delay between individual API calls (in milliseconds)

Cache Settings

  • Enable Cache: Use local caching for API responses
  • Maximum Cache Size: Limit for cache file size (in MB)
  • Save Interval: How often to save cache to disk (in minutes)

API Services

This add-on uses the following external APIs:

  • Romaji2Kana API (https://api.romaji2kana.com): For character reading conversions
  • KanjiAPI (https://kanjiapi.dev): For kanji information and meanings

File Structure

japanese_glossary_generator/
β”œβ”€β”€ __init__.py              # Main entry point
β”œβ”€β”€ config.py               # Configuration management
β”œβ”€β”€ logger.py               # Logging utilities
β”œβ”€β”€ cache.py                # API cache management
β”œβ”€β”€ api_client.py           # API communication
β”œβ”€β”€ stats.py                # Statistics tracking
β”œβ”€β”€ text_utils.py           # Text processing utilities
β”œβ”€β”€ glossary_generator.py   # Core glossary generation
β”œβ”€β”€ templates.py            # HTML templates
β”œβ”€β”€ processor.py            # Main processing logic
β”œβ”€β”€ dialogs.py              # UI dialogs
β”œβ”€β”€ manifest.json           # Add-on manifest
β”œβ”€β”€ meta.json              # Add-on metadata
└── README.md              # This file

Configuration Files

The add-on creates several files in its directory:

  • config.json: User settings and configuration
  • api_cache.json: Cached API responses
  • japanese_glossary_log.txt: Activity log file

Example Output

The generated glossary includes sections for each character type:

Hiragana

  • あ: a
  • い: i
  • う: u

Katakana

  • γ‚’: a
  • γ‚€: i
  • ウ: u

Kanji

Kanji δΊΊ
Readings On: ジン (jin), ニン (nin)
Kun: ひと (hito)
Meanings person, human being

Troubleshooting

Common Issues

  1. No glossaries generated: Check that the source field contains Japanese text
  2. API errors: Verify internet connection and check the log file
  3. Performance issues: Adjust worker counts and batch sizes in settings
  4. Cache issues: Clear cache in settings if experiencing problems

Log File

View the log file via Tools β†’ Japanese Glossary Generator β†’ About... β†’ View Log File to diagnose issues.

Performance Tips

  • Start with smaller batch sizes and increase gradually
  • Use caching to reduce API calls on repeated processing
  • Adjust worker counts based on your system's capabilities
  • Monitor the log file for any API rate limiting issues

Support

For issues, feature requests, or questions:

  1. Check the log file for error details
  2. Try adjusting performance settings
  3. Clear the cache if experiencing persistent issues
  4. Contact the add-on author with specific error messages

License

This add-on is provided as-is. See the license file for full terms.

Changelog

Version 2.1.1

  • Complete rewrite with modular architecture
  • Improved error handling and logging
  • Enhanced caching system
  • Better progress tracking
  • Configurable templates
  • Multiple API service support

Version 1.x

  • Initial implementation
  • Basic glossary generation
  • Simple UI