summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-04-18 10:23:49 +0800
committerPeng Wu <alexepico@gmail.com>2013-04-18 11:02:59 +0800
commitbd771b0c51f35c6ab6377719ab654370782ef1c9 (patch)
treedd8fcfd7c87a25d23613ef8107b66ccda04d8e2e /scripts
parent29ba511009f6346e0350735d342b81de56336b6b (diff)
downloadlibpinyin-bd771b0c51f35c6ab6377719ab654370782ef1c9.tar.gz
libpinyin-bd771b0c51f35c6ab6377719ab654370782ef1c9.tar.xz
libpinyin-bd771b0c51f35c6ab6377719ab654370782ef1c9.zip
support two letter yunmu from full pinyin
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pinyin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/pinyin.py b/scripts/pinyin.py
index 174fdde..dd0e156 100644
--- a/scripts/pinyin.py
+++ b/scripts/pinyin.py
@@ -356,7 +356,8 @@ XHE_SHUANGPIN_SHENGMU_DICT = {
"h" : "h", "i" : "ch", "j" : "j", "k" : "k", "l" : "l",
"m" : "m", "n" : "n", "o" : "'", "p" : "p", "q" : "q",
"r" : "r", "s" : "s", "t" : "t", "u" : "sh", "v" : "zh",
- "w" : "w", "x" : "x", "y" : "y", "z" : "z"
+ "w" : "w", "x" : "x", "y" : "y", "z" : "z",
+ "a" : "'", "e" : "'"
}
XHE_SHUANGPIN_YUNMU_DICT = {