Source code for tools I use for learning Japanese, and maybe other languages in the future. Mainly for generating Anki decks right now.
Information is fetched from jisho.org.
To generate a
general vocab deck of all common vocabulary:
To generate a deck of JLPT N4 and N5 vocab:
./vocabgen -j 4-5 output.apkg
To generate a deck of music vocab for the concert you're going to next week:
./vocabgen -t '#music' output.apkg
For dirty words, including the uncommon ones:
./vocabgen -Tt '#X' output.apkg
For additional flags, see
Patches and questions welcome at my public inbox: ~email@example.com.
Incorporate word frequency lists from Wikipedia for ordering the resulting notes: