projects
/
platform
/
upstream
/
libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c97eb4
)
handle v in gen pinyin table
author
Peng Wu
<alexepico@gmail.com>
Mon, 21 Nov 2011 01:57:52 +0000
(09:57 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Mon, 21 Nov 2011 01:57:52 +0000
(09:57 +0800)
scripts/genpinyintable.py
patch
|
blob
|
history
diff --git
a/scripts/genpinyintable.py
b/scripts/genpinyintable.py
index
7dd6823
..
27b1a17
100644
(file)
--- a/
scripts/genpinyintable.py
+++ b/
scripts/genpinyintable.py
@@
-32,6
+32,7
@@
def filter_pinyin_list():
for (correct, wrong, bopomofo, flags, chewing) in gen_pinyin_list():
flags = '|'.join(flags)
chewing = "ChewingKey({0})".format(', '.join(chewing))
+ correct = correct.replace("v", "ΓΌ")
content_table.append((correct, bopomofo, chewing))
if "IS_PINYIN" in flags:
pinyin_index.append((wrong, flags, correct))