An Anki plugin that imports review history for words studied in JPDB. Currently working as of Anki 2.60.0.
This plugin imports the following information:
- Japanese spelling (e.g. 言葉)
- Japanese reading (e.g. ことば)
- Review history, accomplished by simulating the same button answer responses in Anki.
This plugin does not import:
- English definitions
- Custom sentences
- Audio
- Pitch accent
These data are not included in the JPDB review history export, so they are not included. If/when JPDB has a public API, I will look into adding support, but for now this plugin is meant to create a good starting point in Anki for studying words previously added to JPDB, so that other richer media (e.g. pictures, video, etc) can be added later. See the "Recommended Additional Plugins" section below for links to some other Anki add-ons that can help make the resulting cards richer with little effort.
- Download your JPDB review history by going to the settings page and clicking "Export vocabulary reviews (.json)" near the bottom of the page.
- Create a new Anki deck where you want to import your JPDB cards.
- After installing this add-on, in Anki, go to "Tools" => "Import from JPDB"
- Follow the instructions in the setup window.
To build the package, run python3 build.py
in the command line which will generate the add-on file jpdb_anki_import.ankiaddon
.
To test the file in Anki, perform the following steps:
- Open Anki and click on "Tools" in the top menu bar.
- Select "Add-ons" from the dropdown menu.
- Click on "Install from file..."
- Navigate to the directory where the jpdb_anki_import.ankiaddon file was generated, and select it.
- Click "Open" to install the addon.
- Restart Anki if prompted to do so.
The following other Anki plugins can help flesh out cards created after the import to add translation and more detail:
- Automatic Japanese Dictionary Lookup adds English definitions for Japanese words
- Japanese Example Sentences adds example Japanese sentences.
- AwesomeTTS adds Japanese audio for words.
- Japanese Pitch Accent adds pitch accent diagrams.