Ruby/Romkan is a Romaji <-> Kana conversion library for Ruby. It can convert a Japanese Romaji string to a Japanese Kana string or vice versa.