Skip to content

Commit

Permalink
Merge branch 'haolly-main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mintimate committed May 7, 2024
2 parents 4b558f2 + 5d9f2f0 commit 3d7b261
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions rime_mint.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,12 @@ speller:
- derive/([aeiou])ng$/$1gn/ # dagn => dang
- derive/([dtngkhrzcs])o(u|ng)$/$1o/ # zho => zhong|zhou
- derive/ong$/on/ # zhonguo => zhong guo
- abbrev/^([a-z])[a-z]*$/$1/ # 简拼(首字母)
- abbrev/^([zcs]h).+$/$1/ # 简拼(zh, ch, sh)
## 简拼
- derive/^([a-z]).+$/$1/ # 通过正则表达式提取每个拼音的首字母
- derive/^([zcs]h).+$/$1/ # 特别处理 zh, ch, sh 的首字母简写
- abbrev/^([a-z]).+$/$1/ # 允许使用首字母作为缩写
# 简拼: 允许使用前两个字母作为缩写
# - abbrev/^([a-z]{2,}).+$/$1/ # zem -> zen me -> 怎么
### 自动纠错
# 有些规则对全拼简拼混输有副作用:如「x'ai 喜爱」被纠错为「xia 下」
# zh、ch、sh
Expand Down Expand Up @@ -273,6 +277,7 @@ speller:
- derive/ong$/on/ # lon → long
- derive/([tl])eng$/$1en/ # ten → teng
- derive/([qwrtypsdfghjklzxcbnm])([aeio])ng$/$1ng/ # lng → lang、leng、ling、long
- derive/un$/ong/ # yuntong = yongtong

wubi98_mint:
tag: wubi98_mint
Expand Down

0 comments on commit 3d7b261

Please sign in to comment.