diff options
-rw-r--r-- | scripts/pinyin.py | 2 | ||||
-rw-r--r-- | src/storage/pinyin_parser_table.h | 3 |
2 files changed, 3 insertions, 2 deletions
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[] = { |