summaryrefslogtreecommitdiffstats
path: root/scripts/genpinyintable.py
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-08-13 13:03:47 +0800
committerPeng Wu <alexepico@gmail.com>2013-08-13 13:08:11 +0800
commit62ba27023933285f50406d5e22e042785ff1e1dd (patch)
tree63aff87d19ec923cc51aa43018c2d500a9e7ea15 /scripts/genpinyintable.py
parent19fb957ae331396db3ce0551f21447d86e536b12 (diff)
downloadlibzhuyin-62ba27023933285f50406d5e22e042785ff1e1dd.tar.gz
libzhuyin-62ba27023933285f50406d5e22e042785ff1e1dd.tar.xz
libzhuyin-62ba27023933285f50406d5e22e042785ff1e1dd.zip
rename to hanyu pinyin
Diffstat (limited to 'scripts/genpinyintable.py')
-rw-r--r--scripts/genpinyintable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genpinyintable.py b/scripts/genpinyintable.py
index 262ea28..1c7cf49 100644
--- a/scripts/genpinyintable.py
+++ b/scripts/genpinyintable.py
@@ -93,7 +93,7 @@ def gen_pinyin_index():
def gen_bopomofo_index():
entries = []
for (bopomofo_str, flags) in bopomofo_index:
- pinyin_str = bopomofo.BOPOMOFO_PINYIN_MAP[bopomofo_str]
+ pinyin_str = bopomofo.BOPOMOFO_HANYU_PINYIN_MAP[bopomofo_str]
index = [x[0] for x in content_table].index(pinyin_str)
entry = '{{"{0}", {1}, {2}}}'.format(bopomofo_str, flags, index)
entries.append(entry)