Skip to content

obynio/anki-japanese-furigana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.
  • Apple Silicon (M1, M2...) has an experimental support.

Usage

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

screenshot

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.

Options

  • Tools > Use ruby tags to generate furigana using ruby tags instead of bracket notation
  • Tools > Ignore numbers to avoid generating furigana for numbers

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 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.