Skip to content

Commit b513fe2

Browse files
committed
perf: 优化拼写速度
补录
1 parent 8b487ed commit b513fe2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rime_mint.schema.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ speller:
188188
- derive/([aeiou])ng$/$1gn/ # dagn => dang
189189
- derive/([dtngkhrzcs])o(u|ng)$/$1o/ # zho => zhong|zhou
190190
- derive/ong$/on/ # zhonguo => zhong guo
191+
- abbrev/^([a-z])[a-z]*$/$1/ # 简拼(首字母)
192+
- abbrev/^([zcs]h).+$/$1/ # 简拼(zh, ch, sh)
191193
### 自动纠错
192194
# 有些规则对全拼简拼混输有副作用:如「x'ai 喜爱」被纠错为「xia 下」
193195
# zh、ch、sh

0 commit comments

Comments
 (0)