/** 濁音 */ private static final String DAKUON = "がぎぐげござじずぜぞだぢづでどばびぶべぼぱぴぷぺぽ"; /** 清音 */ private static final String SEION = "かきくけこさしすせそたちつてとはひふへほはひふへほ"; public static String convertDakuon2Seion(String str) { int size = DAKUON.length(); String result = str; for (int i = 0; i < size; i++) { String s1 = DAKUON.substring(i, i + 1); String s2 = SEION.substring(i, i + 1); result = result.replaceAll(s1, s2); } return result; }