Anthy is an input method for japanese, namely a state machine that converts between katakana/hiragana/kanji, mostly as a library usable by other software. It comes with some emacs stuff.