MauveCloud's Browser Tests: Kana Generator

Home: MauveCloud's Browser Tests

Up: Character Set Tests

Romaji:
Hiragana:
Katakana:

Documentation

This uses JavaScript to convert a string into hiragana and katakana. I have created a list of romaji sequences so that it will do something with every letter in the input string (usually by guessing at missing vowels), though the results won't always make sense, and I have added a number of sequences that may not be officially accepted in Japan. This version uses the lesser-known hash-map functionality of JavaScript, so it should be even faster than the previous if/elseif constructs (though I guess it might require more memory).

This is partially inspired by the romaji converter that is built into Jim Breen's WWWJDIC Japanese-English Dictionary Server, but that one doesn't convert the romaji until the form is submitted.

Key features:

Special sequences you may need:
HiraganaKatakanaRomaji to enter
xa
xi
xu
xe
xo
xka
xke
dji
dzu

If you have any questions or suggestions (esp. additions or corrections), you can e-mail me: mauvecloud at mauvecloud dot net (I won't make this a mailto link, as that would merely encourage spam generators).