From: Peng Wu Date: Mon, 4 Feb 2013 06:01:40 +0000 (+0800) Subject: add back ng X-Git-Tag: 0.8.91~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dbd8fa467a1034c89d3c2ca9ab06228eae3b9cb9;p=platform%2Fupstream%2Flibpinyin.git add back ng --- diff --git a/scripts/pinyin.py b/scripts/pinyin.py index 146d05d..174fdde 100644 --- a/scripts/pinyin.py +++ b/scripts/pinyin.py @@ -73,7 +73,7 @@ PINYIN_DICT = { "nan" : 211, "nang" : 212, "nao" : 213, "ne" : 214, "nei" : 215, "nen" : 216, "neng" : 217, "ni" : 218, "nian" : 219, "niang" : 220, "niao" : 221, "nie" : 222, "nin" : 223, "ning" : 224, "niu" : 225, - # "ng" : 226, + "ng" : 226, "nong" : 227, "nou" : 228, "nu" : 229, "nuan" : 230, # "nue" : 231, "nuo" : 232, "nv" : 233, "nve" : 234, diff --git a/src/storage/pinyin_parser_table.h b/src/storage/pinyin_parser_table.h index 6d152d5..7a84435 100644 --- a/src/storage/pinyin_parser_table.h +++ b/src/storage/pinyin_parser_table.h @@ -350,6 +350,7 @@ const pinyin_index_item_t pinyin_index[] = { {"nemg", IS_PINYIN|PINYIN_CORRECT_MG_NG, 233}, {"nen", IS_CHEWING|IS_PINYIN, 232}, {"neng", IS_CHEWING|IS_PINYIN, 233}, +{"ng", IS_CHEWING|IS_PINYIN, 234}, {"ni", IS_CHEWING|IS_PINYIN, 235}, {"niagn", IS_PINYIN|PINYIN_CORRECT_GN_NG, 238}, {"niamg", IS_PINYIN|PINYIN_CORRECT_MG_NG, 238}, @@ -1099,7 +1100,7 @@ const chewing_index_item_t chewing_index[] = { {"ㄩㄢ", IS_CHEWING|IS_PINYIN, 399}, {"ㄩㄣ", IS_CHEWING|IS_PINYIN, 401}, {"ㄩㄥ", IS_CHEWING|IS_PINYIN, 396}, -{"ㄫ", IS_CHEWING, 234} +{"ㄫ", IS_CHEWING|IS_PINYIN, 234} }; const content_table_item_t content_table[] = {