From 68e20601ce0ffc391171686ad7f0e2f17866fe13 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 21 Nov 2011 09:57:52 +0800 Subject: handle v in gen pinyin table --- scripts/genpinyintable.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/genpinyintable.py b/scripts/genpinyintable.py index 7dd6823..27b1a17 100644 --- 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)) -- cgit