handle v in gen pinyin table
authorPeng Wu <alexepico@gmail.com>
Mon, 21 Nov 2011 01:57:52 +0000 (09:57 +0800)
committerPeng Wu <alexepico@gmail.com>
Mon, 21 Nov 2011 01:57:52 +0000 (09:57 +0800)
scripts/genpinyintable.py

index 7dd6823..27b1a17 100644 (file)
@@ -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))