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
.
- Supports ruby tags, bracket notation, bulk card generation
- Apple Silicon (M1, M2...) has an experimental support.
- Japanese readings are generated by MeCab.
JapaneseFurigana adds two buttons in the card editor toolbar that detects kanjis and generates or removes their respective furigana readings.
Tip
- Add furigana reading with ⌘R or Ctrl+R
- Remove furigana reading with ⌥⌘R or Ctrl+Alt+R
This plugin will generate furigana using the recommended bracket notation by default, but also offers compatibility with ruby tags generated by other tools such as ClozeFuriganaTools.
I will try my best to offer a backward compatibility with older versions of Anki but I do not guarantee it. Anki moves pretty fast and we need to follow.
- Edit > Bulk Generate Furigana to generate furigana on selected cards in the browse window
- Tools > Use ruby tags to generate furigana using ruby tags instead of bracket notation
- Tools > Ignore numbers to avoid generating furigana for numbers
I try to include unit tests as much as possible, you can run them with python -m unittest
.
There is already plently of plugins available for Japanese, but most of them are incompatible with the lastest versions of Anki or do not work on MacOS.
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.