Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions segment_julius.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -468,6 +473,7 @@ sub yomi2voca {
s/ん/ N/g;
s/っ/ q/g;
s/ー/:/g;
s/ゔ/ b u/g; # yomi2voca.plではEUCのためサポートできない

# ここまでに処理されてない ぁぃぅぇぉ はそのまま大文字扱い
s/ぁ/ a/g;
Expand Down