Anki add-on: Japanese Examples

Japanese Examples adds example sentences, translations, and native-speaker audio to your Japanese flashcards, sourced from the Tatoeba project . 🌐 Website: japanese-examples.kthys.dev 💻 Source code: GitHub ═══ DEMO ═══ Single-card addition: Batch addition: ═══ FEATURES ═══ 🖊️ Single-card mode Pick the example sentence you want directly from the card editor. Sentences with a native-speaker recording are marked with 🔊 in the picker. Queries the Tatoeba API live, so you always get the latest available sentences. ⚡ Batch mode Fills an entire deck (or a single subdeck) in one run. Downloads and indexes Tatoeba's database locally with SQLite, so bulk processing is fast and works at scale. Fills up to 3 example/translation field pairs per card. Decks mixing several note types expose all their fields in the dialog. Optionally skips cards that already have examples. Shows a report at the end (including any audio errors), and the whole run can be undone with Ctrl+Z . 🔊 Native-speaker audio Works in both single-card and batch mode. Sentences with audio are preferred, and recordings are saved into a field of your choice. Downloads run in the background with a progress counter, so Anki stays responsive. 🌍 Multilingual Translations available in English and French. The add-on's interface follows your Anki language settings (English or French). ═══ USAGE ═══ Initial setup Open the add-on's configuration ( Tools > Add-ons , select Japanese Examples, then Config ). Set the names of the fields used for your Japanese examples, translated examples, and audio recordings. Restart Anki to apply the settings. Adding an example to a single card Create a new card or open an existing one in the editor. Click the "Add an example sentence manually" button in the editor's toolbar. Pick your preferred sentence from the list — it gets inserted into the card. Batch processing a deck In the main Anki window, go to Tools > Batch process examples . Data Management: choose your target language (English or French) and click Download data . This only needs to be done once (and again whenever you want fresher data). Execution: select your target deck. You can process a whole deck tree (including subdecks) or a single subdeck. Map your fields: the Source field (containing the word to look up), then the Japanese example , Translated example , and Audio fields. You can add up to 3 example/translation pairs per card. Check "Skip cards with existing examples" if you only want to fill empty cards. Click Run batch process . A report shows the results when it finishes, and Ctrl+Z undoes the whole run if needed. ═══ BUGS & SUGGESTIONS ═══ Please don't report bugs in the reviews below — I can't reply efficiently to them there. Instead, open an issue on GitHub . Feature ideas and pull requests are welcome! If this add-on helps your studies, consider giving it a 👍 — it helps other learners find it. ═══ CREDITS & LICENSE ═══ Example sentences, translations, and audio come from the Tatoeba project , a collaborative, open database of sentences (CC-BY 2.0 FR). Japanese Examples is licensed under the GPLv3.

GitHub repository: kthys/anki-japanese-examples
Repository description: Japanese Examples is a plugin for the Anki flashcard software that adds example sentences to flashcards from the Tatoeba API.
Languages: Python
Topics: anki, anki-addon, examples, extension, japanese, l18n, languages, plugin, python