diff options
author | Peng Wu <alexepico@gmail.com> | 2011-11-15 13:42:41 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-11-15 13:42:41 +0800 |
commit | ba0fe0bfcd3d37f86fad9e7cdf44c511352eca08 (patch) | |
tree | 6bd605b40cb61df7489127b74778495ca27c38ee /scripts | |
parent | aa88ca0ec666553b1a79b632ecaf9ef32049840f (diff) | |
download | libpinyin-ba0fe0bfcd3d37f86fad9e7cdf44c511352eca08.tar.gz libpinyin-ba0fe0bfcd3d37f86fad9e7cdf44c511352eca08.tar.xz libpinyin-ba0fe0bfcd3d37f86fad9e7cdf44c511352eca08.zip |
update gen pinyin table
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/genpinyintable.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/genpinyintable.py b/scripts/genpinyintable.py index eafbf5e..7dd6823 100644 --- 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 |