summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-11-14 14:33:26 +0800
committerPeng Wu <alexepico@gmail.com>2011-11-14 14:33:26 +0800
commit8f78ff8923670275bed69291c723e05b66edb22e (patch)
treef997c975a5c9faa423745f87128641bef137fc9c /scripts
parent33d64f5e310e9a61a2031d1988251fe351540255 (diff)
downloadlibpinyin-8f78ff8923670275bed69291c723e05b66edb22e.tar.gz
libpinyin-8f78ff8923670275bed69291c723e05b66edb22e.tar.xz
libpinyin-8f78ff8923670275bed69291c723e05b66edb22e.zip
fixes pinyintable.py
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pinyintable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pinyintable.py b/scripts/pinyintable.py
index a825fea..0bf411f 100644
--- a/scripts/pinyintable.py
+++ b/scripts/pinyintable.py
@@ -104,7 +104,7 @@ def gen_pinyins():
if pinyin_key in shengmu_list:
flags.append("PINYIN_INCOMPLETE")
chewing_key = bopomofo.PINYIN_BOPOMOFO_MAP[pinyin_key]
- if chewing_key in chewing.ASCII_CHEWING_INITIAL_MAP:
+ if chewing_key in chewing.CHEWING_ASCII_INITIAL_MAP:
flags.append("CHEWING_INCOMPLETE")
yield pinyin_key, pinyin_key, chewing_key, \
flags, get_chewing(pinyin_key)