Skip to content

Instantly share code, notes, and snippets.

@ikegami-yukino
Created March 27, 2012 08:04
Show Gist options
  • Save ikegami-yukino/2213879 to your computer and use it in GitHub Desktop.
Save ikegami-yukino/2213879 to your computer and use it in GitHub Desktop.
Bilingual Emacspeak Project(BEP)辞書からルー語臭さをなるべく取り除く
perl -pe 's/(?=[ドト])ゥ(?<!ー)//g;s/(?<=[キシチニヒミリィ])イ/ー/g;s/(?<=[ァゥェォ])ィ/イ/g;s/イション/ーション/g;s/ォウ/ォー/g;s/スィ/シー/g;s/ロウ/ロー/g;s/゛//g;s/ウカ/ーカ/g;s/トギャザー/トゥゲザー/g;s/ボキャビュラリー/ボキャブラリー/g;' < bep-eng.dic.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment