diff options
author | Peng Wu <alexepico@gmail.com> | 2013-08-08 13:22:14 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-08-08 13:22:14 +0800 |
commit | a50ef850d4f8af898317e7a7834083f8e30532f1 (patch) | |
tree | cd43f9ef1a49ef43a21530072672fdf3bb7ebd17 /utils | |
parent | 314568bc3dee76b2fc4a0f7f1ea7d06b4ca48bde (diff) | |
download | libzhuyin-a50ef850d4f8af898317e7a7834083f8e30532f1.tar.gz libzhuyin-a50ef850d4f8af898317e7a7834083f8e30532f1.tar.xz libzhuyin-a50ef850d4f8af898317e7a7834083f8e30532f1.zip |
update codes
Diffstat (limited to 'utils')
-rw-r--r-- | utils/storage/gen_pinyin_table.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/storage/gen_pinyin_table.cpp b/utils/storage/gen_pinyin_table.cpp index 3b541d1..96b35d5 100644 --- a/utils/storage/gen_pinyin_table.cpp +++ b/utils/storage/gen_pinyin_table.cpp @@ -179,7 +179,7 @@ void feed_line(const char * phrase, const char * pinyin, const guint32 freq) { ChewingKeyRestVector key_rests = g_array_new (FALSE, FALSE, sizeof(ChewingKeyRest)); - pinyin_option_t options = PINYIN_CORRECT_ALL | USE_TONE; + pinyin_option_t options = USE_TONE; parser.parse(options, keys, key_rests, pinyin, strlen(pinyin)); assert(keys->len == key_rests->len); |