diff --git a/pom.xml b/pom.xml index c375d8e..2233bb7 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.github.ucchyocean LunaChat - 2.7.6 + 2.7.7 チャンネルチャットプラグイン diff --git a/src/main/java/com/github/ucchyocean/lc/japanize/IMEConverter.java b/src/main/java/com/github/ucchyocean/lc/japanize/IMEConverter.java index 66a6b61..ed91e17 100644 --- a/src/main/java/com/github/ucchyocean/lc/japanize/IMEConverter.java +++ b/src/main/java/com/github/ucchyocean/lc/japanize/IMEConverter.java @@ -154,7 +154,8 @@ public class IMEConverter { // デバッグ用エントリ public static void main(String[] args) { - String testee = "\""; + String testee = "sonnnakotohanak(ry)"; + System.out.println("original : " + testee); System.out.println("kana : " + KanaConverter.conv(testee)); System.out.println("GoogleIME : " + convByGoogleIME(KanaConverter.conv(testee))); System.out.println("SocialIME : " + convBySocialIME(KanaConverter.conv(testee))); diff --git a/src/main/java/com/github/ucchyocean/lc/japanize/KanaConverter.java b/src/main/java/com/github/ucchyocean/lc/japanize/KanaConverter.java index 347d2d5..9a0f7a2 100644 --- a/src/main/java/com/github/ucchyocean/lc/japanize/KanaConverter.java +++ b/src/main/java/com/github/ucchyocean/lc/japanize/KanaConverter.java @@ -163,6 +163,7 @@ public class KanaConverter { line.append(last + "”"); last = ""; } else if ( tmp.equals("(") || tmp.equals(")") ) { + line.append(last); last = ""; } else { line.append(last + tmp);