|
|
|
@@ -33,30 +33,45 @@ public class KanaConverter {
|
|
|
|
|
TABLE.put( "b", new String[]{"ば","び","ぶ","べ","ぼ"});
|
|
|
|
|
TABLE.put( "p", new String[]{"ぱ","ぴ","ぷ","ぺ","ぽ"});
|
|
|
|
|
TABLE.put("gy", new String[]{"ぎゃ","ぎぃ","ぎゅ","ぎぇ","ぎょ"});
|
|
|
|
|
TABLE.put("gw", new String[]{"ぐぁ","ぐぃ","ぐぅ","ぐぇ","ぐぉ"});
|
|
|
|
|
TABLE.put("zy", new String[]{"じゃ","じぃ","じゅ","じぇ","じょ"});
|
|
|
|
|
TABLE.put("jy", new String[]{"じゃ","じぃ","じゅ","じぇ","じょ"});
|
|
|
|
|
TABLE.put("dy", new String[]{"ぢゃ","ぢぃ","ぢゅ","ぢぇ","ぢょ"});
|
|
|
|
|
TABLE.put("dh", new String[]{"でゃ","でぃ","でゅ","でぇ","でょ"});
|
|
|
|
|
TABLE.put("dw", new String[]{"どぁ","どぃ","どぅ","どぇ","どぉ"});
|
|
|
|
|
TABLE.put("by", new String[]{"びゃ","びぃ","びゅ","びぇ","びょ"});
|
|
|
|
|
TABLE.put("py", new String[]{"ぴゃ","ぴぃ","ぴゅ","ぴぇ","ぴょ"});
|
|
|
|
|
TABLE.put( "l", new String[]{"ぁ","ぃ","ぅ","ぇ","ぉ"});
|
|
|
|
|
TABLE.put( "v", new String[]{"ヴぁ","ヴぃ","ヴ","ヴぇ","ヴぉ"});
|
|
|
|
|
TABLE.put("vy", new String[]{"ヴゃ","ヴぃ","ヴゅ","ヴぇ","ヴょ"});
|
|
|
|
|
TABLE.put("sh", new String[]{"しゃ","し","しゅ","しぇ","しょ"});
|
|
|
|
|
TABLE.put("sy", new String[]{"しゃ","し","しゅ","しぇ","しょ"});
|
|
|
|
|
TABLE.put( "c", new String[]{"か","し","く","せ","こ"});
|
|
|
|
|
TABLE.put("ch", new String[]{"ちゃ","ち","ちゅ","ちぇ","ちょ"});
|
|
|
|
|
TABLE.put("cy", new String[]{"ちゃ","ち","ちゅ","ちぇ","ちょ"});
|
|
|
|
|
TABLE.put( "f", new String[]{"ふぁ","ふぃ","ふ","ふぇ","ふぉ"});
|
|
|
|
|
TABLE.put("fy", new String[]{"ふゃ","ふぃ","ふゅ","ふぇ","ふょ"});
|
|
|
|
|
TABLE.put("fw", new String[]{"ふぁ","ふぃ","ふ","ふぇ","ふぉ"});
|
|
|
|
|
TABLE.put( "q", new String[]{"くぁ","くぃ","く","くぇ","くぉ"});
|
|
|
|
|
TABLE.put("ky", new String[]{"きゃ","きぃ","きゅ","きぇ","きょ"});
|
|
|
|
|
TABLE.put("kw", new String[]{"くぁ","くぃ","く","くぇ","くぉ"});
|
|
|
|
|
TABLE.put("ty", new String[]{"ちゃ","ちぃ","ちゅ","ちぇ","ちょ"});
|
|
|
|
|
TABLE.put("ts", new String[]{"つぁ","つぃ","つ","つぇ","つぉ"});
|
|
|
|
|
TABLE.put("th", new String[]{"てゃ","てぃ","てゅ","てぇ","てょ"});
|
|
|
|
|
TABLE.put("tw", new String[]{"とぁ","とぃ","とぅ","とぇ","とぉ"});
|
|
|
|
|
TABLE.put("ny", new String[]{"にゃ","にぃ","にゅ","にぇ","にょ"});
|
|
|
|
|
TABLE.put("hy", new String[]{"ひゃ","ひぃ","ひゅ","ひぇ","ひょ"});
|
|
|
|
|
TABLE.put("my", new String[]{"みゃ","みぃ","みゅ","みぇ","みょ"});
|
|
|
|
|
TABLE.put("ry", new String[]{"りゃ","りぃ","りゅ","りぇ","りょ"});
|
|
|
|
|
TABLE.put( "l", new String[]{"ぁ","ぃ","ぅ","ぇ","ぉ"});
|
|
|
|
|
TABLE.put( "x", new String[]{"ぁ","ぃ","ぅ","ぇ","ぉ"});
|
|
|
|
|
TABLE.put("ly", new String[]{"ゃ","ぃ","ゅ","ぇ","ょ"});
|
|
|
|
|
TABLE.put("lt", new String[]{"た","ち","っ","て","と"});
|
|
|
|
|
TABLE.put("lk", new String[]{"ヵ","き","く","ヶ","こ"});
|
|
|
|
|
TABLE.put("xy", new String[]{"ゃ","ぃ","ゅ","ぇ","ょ"});
|
|
|
|
|
TABLE.put("xt", new String[]{"た","ち","っ","て","と"});
|
|
|
|
|
TABLE.put( "x", new String[]{"ぁ","ぃ","ぅ","ぇ","ぉ"});
|
|
|
|
|
TABLE.put("xk", new String[]{"ヵ","き","く","ヶ","こ"});
|
|
|
|
|
TABLE.put("wy", new String[]{"わ","ゐ","う","ゑ","を"});
|
|
|
|
|
TABLE.put("wh", new String[]{"うぁ","うぃ","う","うぇ","うぉ"});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
private static String getKanaFromTable(String s, int n) {
|
|
|
|
|