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:
aa88ca0
)
update gen pinyin table
author
Peng Wu
<alexepico@gmail.com>
Tue, 15 Nov 2011 05:42:41 +0000
(13:42 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Tue, 15 Nov 2011 05:42:41 +0000
(13:42 +0800)
scripts/genpinyintable.py
patch
|
blob
|
history
diff --git
a/scripts/genpinyintable.py
b/scripts/genpinyintable.py
index
eafbf5e
..
7dd6823
100644
(file)
--- a/
scripts/genpinyintable.py
+++ b/
scripts/genpinyintable.py
@@
-43,6
+43,8
@@
def sort_all():
global content_table, pinyin_index, bopomofo_index
#remove duplicates
content_table = list(set(content_table))
+ pinyin_index = list(set(pinyin_index))
+ bopomofo_index = list(set(bopomofo_index))
#define sort function
sortfunc = operator.itemgetter(0)
#begin sort