From 7f9081383307c790dacaa39f4199f264fae1720f Mon Sep 17 00:00:00 2001 From: Dvel Date: Tue, 28 Feb 2023 13:40:14 +0800 Subject: [PATCH] =?UTF-8?q?fix=20#90=20=E5=8F=8C=E6=8B=BC=E5=A4=A7?= =?UTF-8?q?=E5=86=99=E5=AD=97=E6=AF=8D=E5=BD=B1=E5=93=8D=E7=AE=80=E6=8B=BC?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cn_dicts/others.dict.yaml | 54 ++++++++++++++++----------------- double_pinyin.schema.yaml | 2 ++ double_pinyin_flypy.schema.yaml | 2 ++ rime_ice.schema.yaml | 3 ++ 4 files changed, 34 insertions(+), 27 deletions(-) diff --git a/cn_dicts/others.dict.yaml b/cn_dicts/others.dict.yaml index 8a89f02..6cf79d0 100644 --- a/cn_dicts/others.dict.yaml +++ b/cn_dicts/others.dict.yaml @@ -12,33 +12,33 @@ version: "2023-02-27" sort: by_weight ... ##### 大写字母 -A A -B B -C C -D D -E E -F F -G G -H H -I I -J J -K K -L L -M M -N N -O O -P P -Q Q -R R -S S -T T -U U -V V -W W -X X -Y Y -Z Z - +# 因为默认的双拼拼写规则用掉了大写字母。这些奇怪的编码是为了做 xlit 转写,同时适配全拼和双拼。 +A ā +B ḃ +C ç +D ď +E ē +F ḟ +G ḡ +H ĥ +I ī +J ĵ +K ḱ +L ĺ +M ḿ +N ń +O ō +P ṕ +Q ɋ +R ŕ +S ś +T ť +U ū +V ṽ +W ẃ +X ẋ +Y ȳ +Z ź ##### 容错词 # 「血xue、xie」「谁shui、shei」「露lu、lou」「熟shu、shou」「密钥yao、yue」已在 base 中实现 diff --git a/double_pinyin.schema.yaml b/double_pinyin.schema.yaml index 0ed75ff..a693069 100755 --- a/double_pinyin.schema.yaml +++ b/double_pinyin.schema.yaml @@ -251,3 +251,5 @@ speller: - xform/in$/N/ - xlit/QWRTYUIOPSDFGHMJCKLZXVBN/qwrtyuiopsdfghmjcklzxvbn/ - abbrev/^(.).+$/$1/ + # 可输入大写字母。因为上面的双拼拼写规则用掉了大写字母。做了 xlit 转写,同时适配全拼和双拼。 + - xlit/āḃçďēḟḡĥīĵḱĺḿńōṕɋŕśťūṽẃẋȳź/ABCDEFGHIJKLMNOPQRSTUVWXYZ/ diff --git a/double_pinyin_flypy.schema.yaml b/double_pinyin_flypy.schema.yaml index b950e7a..bda6773 100755 --- a/double_pinyin_flypy.schema.yaml +++ b/double_pinyin_flypy.schema.yaml @@ -251,3 +251,5 @@ speller: - xform/in$/B/ - xlit/QWRTYUIOPSDFGHJKLZXCVBNM/qwrtyuiopsdfghjklzxcvbnm/ - abbrev/^(.).+$/$1/ + # 可输入大写字母。因为上面的双拼拼写规则用掉了大写字母。做了 xlit 转写,同时适配全拼和双拼。 + - xlit/āḃçďēḟḡĥīĵḱĺḿńōṕɋŕśťūṽẃẋȳź/ABCDEFGHIJKLMNOPQRSTUVWXYZ/ diff --git a/rime_ice.schema.yaml b/rime_ice.schema.yaml index e13ecdd..299747a 100755 --- a/rime_ice.schema.yaml +++ b/rime_ice.schema.yaml @@ -265,6 +265,9 @@ speller: - derive/^([jqxy])u/$1v/ - derive/^([jqxy])v/$1u/ + ### 可输入大写字母,做了 xlit 转写是为了适配双拼 + - xlit/āḃçďēḟḡĥīĵḱĺḿńōṕɋŕśťūṽẃẋȳź/ABCDEFGHIJKLMNOPQRSTUVWXYZ/ + ### 自动纠错 # 有些规则对全拼简拼混输有副作用:如「x'ai 喜爱」被纠错为「xia 下」 # zh、ch、sh