refactor: 改写拼写规则的搭桥字母 (#332)

This commit is contained in:
Mirtle
2023-06-08 06:42:01 +08:00
committed by GitHub
parent cb56778fee
commit 8b4b8d49a7
14 changed files with 134 additions and 152 deletions

View File

@@ -241,34 +241,32 @@ speller:
- derive/^([jqxy])u$/$1v/
- derive/^([aoe].*)$/o$1/
- xform/^([ae])(.*)$/$1$1$2/
- xform/iu$/Q/
- xform/[iu]a$/W/
- xform/er$|[uv]an$/R/
- xform/[uv]e$/T/
- xform/v$|uai$/Y/
- xform/^sh/U/
- xform/^ch/I/
- xform/^zh/V/
- xform/uo$/O/
- xform/[uv]n$/P/
- xform/i?ong$/S/
- xform/[iu]ang$/D/
- xform/(.)en$/$1F/
- xform/(.)eng$/$1G/
- xform/(.)ang$/$1H/
- xform/ian$/M/
- xform/(.)an$/$1J/
- xform/iao$/C/
- xform/(.)ao$/$1K/
- xform/(.)ai$/$1L/
- xform/(.)ei$/$1Z/
- xform/ie$/X/
- xform/ui$/V/
- derive/T$/V/
- xform/(.)ou$/$1B/
- xform/in$/N/
- xform/iu$/ǫ/
- xform/[iu]a$//
- xform/er$|[uv]an$/ʀ/
- xform/[uv]e$//
- xform/v$|uai$/ʏ/
- xform/^sh//
- xform/^ch/ɪ/
- xform/^zh//
- xform/uo$//
- xform/[uv]n$//
- xform/i?ong$/s/
- xform/[iu]ang$//
- xform/(.)en$/$1ғ/
- xform/(.)eng$/$1ɢ/
- xform/(.)ang$/$1ʜ/
- xform/ian$//
- xform/(.)an$/$1/
- xform/iao$//
- xform/(.)ao$/$1/
- xform/(.)ai$/$1ʟ/
- xform/(.)ei$/$1/
- xform/ie$/x/
- xform/ui$//
- derive/T$//
- xform/(.)ou$/$1ʙ/
- xform/in$/ɴ/
- xform/ing$/;/
- xlit/QWRTYUIOPSDFGHMJCKLZXVBN/qwrtyuiopsdfghmjcklzxvbn/
- xlit/ǫʀᴛʏɪᴘsᴅғɢʜᴍᴊᴋʟxʙɴ/qwrtyuiopsdfghmjcklzxvbn/
- abbrev/^(.).+$/$1/ # 首字母简拼
# 可输入大写字母。因为上面的双拼拼写规则用掉了大写字母。做了 xlit 转写,同时适配全拼和双拼。
- xlit/āḃçďēḟḡĥīĵḱĺḿńōṕɋŕśťūṽẃẋȳź/ABCDEFGHIJKLMNOPQRSTUVWXYZ/