/anki-japanese-furigana

Anki add-on providing support for adding or removing furigana on Japanese text

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

JapaneseFurigana

Une langue s'apprend dans le système d'écriture qui lui est propre -- Julien Fontanier

JapaneseFurigana is an Anki 2.1 add-on providing support for adding or removing furigana on Japanese content in cards. It is intended to work cross-platforms, either on Windows, MacOS or Linux.

Japanese readings are generated by MeCab and Kakasi.

Usage

japaneseFurigana adds two buttons in the card editor toolbar that detects kanjis and generates or removes their respective furigana readings.

screenshot

Please note this plugin will only generate furigana using the recommended bracket notation. Thus this plugin is incompatible with ruby tags generated by other tools.

Tests

I try to include unit tests as much as possible, you can run them with python -m unittest.

Why

There is already plently of plugins available for Japanese, but most of them are incompatible with Anki 2.1 or do not work on MacOS. I also wanted a plugin that respects the KISS principle, that states that softwares should be kept as simple as possible.

JapaneseFurigana was originally inspired by ClozeFuriganaTools and Simple Furigana but has since been refactored to simplify and debloat it and does not include code from these two projects anymore.