From af8ad88548cc7e078a1dd086f81191cca78decbe Mon Sep 17 00:00:00 2001 From: Suano HARA Date: Wed, 22 Apr 2020 18:42:50 +0900 Subject: [PATCH] =?UTF-8?q?Support=20U+3094=20"=E3=82=94"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- segment_julius.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/segment_julius.pl b/segment_julius.pl index 6faab6e..8ffbd7b 100644 --- a/segment_julius.pl +++ b/segment_julius.pl @@ -392,6 +392,11 @@ sub yomi2voca { s/ふょ/ hy o/g; s/ふぇ/ f e/g; s/ふぉ/ f o/g; + s/ゔぁ/ b a/g; # yomi2voca.plではEUCのためサポートできない + s/ゔぃ/ b i/g; + s/ゔぇ/ b e/g; + s/ゔぉ/ b o/g; + s/ゔゅ/ by u/g; # 1音からなる変換規則 s/あ/ a/g; @@ -468,6 +473,7 @@ sub yomi2voca { s/ん/ N/g; s/っ/ q/g; s/ー/:/g; + s/ゔ/ b u/g; # yomi2voca.plではEUCのためサポートできない # ここまでに処理されてない ぁぃぅぇぉ はそのまま大文字扱い s/ぁ/ a/g;