tarix/mcdsupport — pull request #3 by custommonkey (2012-03-28 15:48:04+00:00)
Title: Added mecab mode to make clozes unique for different kanji sounds

Hi, I've just hacked together a new mode for your mcdsupport plugin.

Rather than just looking through and replacing all identical kanji with clozes this more uses to the japanese plugin to workout what the reading of the kanji is in a particular place and only replace those that are in the same context.

e.g.

火事 and 事 rather then producing just two cards one for ひ and one for こと it should product three cards one for か one for じ and one for こと.

Hope that makes sense.

There is one problem with it at the moment, for some reason the CLOSETEXT value gets stripped with the question field is set so I have to use (...) instead. Haven't found a way to force this into HTML mode as yet.