Anki supports plugins to add features and change the default behaviour. The plugin directory is in ~/.anki/plugins (where '~' is your home directory).

To add a plugin, simply put a python file in that directory and start Anki.

The structure of the plugins is pretty simple, and best explained by example.

0.9.x plugins

0.4 plugins will need to be ported. Not many changes are required - see init.py in libanki for more info. Please add new plugins to the bottom of the list for now.

Custom dictionary lookup

Removes the standard alc/edict links in the lookup directory, and replaces them with links which invoke an external program called "lookup"

Additional information for each kanji

This plugin will display any extra info you specify for each kanji on the answer side. Each kanji will be displayed in a stroke order font (if present) and additional info (if specified) will be displayed on mouseover. You will have to create a kanji_info.txt file that contains the info you want to be displayed. The format is simple (for each line, <single kanji> <single space> <whatever info you want>), for example kanjidic converted to UTF-8 charset will work.

If this plugin causes you any trouble, contact Andreas.Klauer@metamorpher.de

To display the stroke order, the font called KanjiStrokeOrder is needed. You can find it on this site.

Stop sounds playing at double speed

If your audio files are playing at double speed, it's because they have a low frequency. Anki defaults to 44100hz because 22050hz can cause crackling on some soundcards. You may want to try the plugin below, which changes the playing speed to 22050hz.

Yes or No

Simple & stupid plugin that adds yes and no labels to buttons, as a recommendation what to answer depending on type of card and wether you knew it or not:

It will still show all buttons, so you can answer any other number you like and ignore the recommendation.

If this plugin causes you any trouble, contact Andreas.Klauer@metamorpher.de

JLPT Progress

Example sentences

Screenshot : example_sentences.png

Kanji words

RLC Bitzer Plugin

Import progress from kanji.koohii.com

This plugin allows you to import card review progress from kanji.koohii.com into Anki.

If this plugin causes you any trouble, contact misha.penkov@gmail.com .

Installation

Notes:

The plugin will not touch any cards that were already reviewed through Anki.

This is done to prevent accidental loss of scheduling information in an existing deck. If you would like to overwrite the review progress for a particular card, you may do so after resetting the progress for the card in the deck. To do this:

Selective Kanji Statistics

Hide intervals

Hides interval times from the answer buttons. This plugin is essentially RLC Bitzer v0.16 by Richard Colley, but with everything else removed.

Customize auto-generated pinyin for mandarin chinese

This plugin adds better auto-generated pinyin when using anki for mandarin chinese. Based on the cedict dictionary.

To Install:

Unzip into the YOUR_HOME_DIRECTORY/.anki/plugin/ directory, and change the model property settings for your deck from "Mandarin" to "MyMandarin".

You can find my contact info here if you have trouble: http://brianvaughan.net/.

Spreading due repetitions over a number of days

This plugin will allow you to split your due cards over a number of days. The most important cards are shown first. If you have 100 repetitions and choose to split over 3 days, each day will show about 33 cards.

Periodic Reminder Popup

Hanzi statistics

Kangoroo learn-file import

KangorooImporter.py

Anki plugin for importing Kangoroo learn-files.

Kangoroo indexes the files in a similar way to EDICT, but it doesn't store the reading or meaning, just the keyword. This plugin will take the keywords from the learn-file and look them up in EDICT. From the look-up results, it will create new cards and import them.

You need to have a file called `edict' (without the quotes) in the same directory as the plugin (~/.anki/plugins on a Linux platform).

If a word in the learn-file isn't found in EDICT, then it will be skipped and an error presented to the user.

If this plugin causes you any trouble, contact misha.penkov@gmail.com .

0.4.x plugins

Improved kanji report

Updates to the kanji report, that include sorting by various fields, and displaying information about radicals.

Import progress from kanji.koohii.com

This plugin allows you to import card review progress from kanji.koohii.com into Anki.

If this plugin causes you any trouble, contact misha.penkov@gmail.com .

Installation

Notes

The plugin will not touch any cards that were already reviewed through Anki.

This is done to prevent accidental loss of scheduling information in an existing deck. If you would like to overwrite the review progress for a particular card, you may do so after resetting the progress for the card in the deck. To do this:

Importing from a Shift-jis encoded text file

This plugin lets anki import from sjis encoded '.csv' files. Shift-jis is a common encoding in Japan. The Perapera-kun plugin uses this encoding for output.

Download transcode.py

This plugin automatically makes a copy of the input file in utf8 and then loads it. The copy has a '.utf8' at the end. It can be deleted after the import.

Any you have any questions or suggestions contact Killersquierl@gmail.com .

Plugins (last edited 2008-08-23 12:28:42 by misha)