From c1a2c8e0902f456e38c35168b5487ef2bb66d79d Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 21 Oct 2011 11:15:56 +0800 Subject: add chewing.py --- scripts/genpytable.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/genpytable.py') diff --git a/scripts/genpytable.py b/scripts/genpytable.py index 03e7fff..b5f34dc 100644 --- a/scripts/genpytable.py +++ b/scripts/genpytable.py @@ -22,9 +22,11 @@ import pinyin import bopomofo +import chewing +from fuzzy import * def check_pinyin_chewing_map(): - for pinyin_key in pinyin.PINYIN_DICT: + for pinyin_key in pinyin.PINYIN_DICT.keys(): if pinyin_key in bopomofo.PINYIN_BOPOMOFO_MAP.keys(): pass else: -- cgit