diff options
author | Peng Huang <shawn.p.huang@gmail.com> | 2011-03-21 13:00:05 -0400 |
---|---|---|
committer | Peng Huang <shawn.p.huang@gmail.com> | 2011-03-21 13:00:05 -0400 |
commit | d85a24507314194f1597c4c5d6c460408fcd3a9e (patch) | |
tree | 8e39c9f0ac426050b594712ba59468b0d52b1bcb /src/PYConfig.cc | |
parent | 5d68b85c32049841ad1ac6220c6b03a528da7662 (diff) | |
download | ibus-libpinyin-d85a24507314194f1597c4c5d6c460408fcd3a9e.tar.gz ibus-libpinyin-d85a24507314194f1597c4c5d6c460408fcd3a9e.tar.xz ibus-libpinyin-d85a24507314194f1597c4c5d6c460408fcd3a9e.zip |
Add auto correct "on" => "ong", and combine some fuzzy pinyin options to save flag bits.
BUG=none
TEST=Linux desktop
Review URL: http://codereview.appspot.com/4273085
Diffstat (limited to 'src/PYConfig.cc')
-rw-r--r-- | src/PYConfig.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/PYConfig.cc b/src/PYConfig.cc index 20fbef1..b932931 100644 --- a/src/PYConfig.cc +++ b/src/PYConfig.cc @@ -113,10 +113,12 @@ static const struct { { "FuzzyPinyin_ENG_EN", PINYIN_FUZZY_ENG_EN, TRUE }, { "FuzzyPinyin_IN_ING", PINYIN_FUZZY_IN_ING, TRUE }, { "FuzzyPinyin_ING_IN", PINYIN_FUZZY_ING_IN, TRUE }, +#if 0 { "FuzzyPinyin_IAN_IANG", PINYIN_FUZZY_IAN_IANG, TRUE }, { "FuzzyPinyin_IANG_IAN", PINYIN_FUZZY_IANG_IAN, TRUE }, { "FuzzyPinyin_UAN_UANG", PINYIN_FUZZY_UAN_UANG, TRUE }, { "FuzzyPinyin_UANG_UAN", PINYIN_FUZZY_UANG_UAN, TRUE }, +#endif }; void @@ -299,6 +301,7 @@ static const struct { { "CorrectPinyin_UE_VE", PINYIN_CORRECT_UE_TO_VE, TRUE }, { "CorrectPinyin_V_U", PINYIN_CORRECT_V_TO_U, TRUE }, { "CorrectPinyin_VE_UE", PINYIN_CORRECT_V_TO_U, TRUE }, + { "CorrectPinyin_ON_ONG", PINYIN_CORRECT_ON_TO_ONG, FALSE }, }; PinyinConfig::PinyinConfig (Bus & bus) |