Skip to content

Commit

Permalink
perf: 优化拼写速度
Browse files Browse the repository at this point in the history
补录
  • Loading branch information
Mintimate committed Mar 30, 2024
1 parent 8b487ed commit b513fe2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rime_mint.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ 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)
### 自动纠错
# 有些规则对全拼简拼混输有副作用:如「x'ai 喜爱」被纠错为「xia 下」
# zh、ch、sh
Expand Down

0 comments on commit b513fe2

Please sign in to comment.