Skip to content

Commit

Permalink
feat(薄荷拼音): 拼音输入优化 (#15)
Browse files Browse the repository at this point in the history
* style薄荷拼音输入风格): 模糊拼音取消

- 注释掉模糊拼音的配置

* feat(薄荷拼音输入风格): 第二输入降频

- 降低went的词频,避免输入『问题』时候的第一候选词被『went』挤占
  • Loading branch information
YummyCocoa authored Nov 24, 2023
1 parent f6713c0 commit 2be8938
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions rime_mint.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ reduce_english_filter:
lux, moc, mos, mot, mum, nad, nay, nib, nip, pak, pap, pax, rig, rum, sac, sal,
sax, sec, shin, sis, ska, slang, sus, tad, taj, tac, tic, yep, yum, fax, cain,
key, mob, buy, dam, wap, yes, but, put, lag, buf, lip, aid, aim, dig, dim, din,
dip, pail, cad, chap, bend, lid, gem, tin]
dip, pail, cad, chap, bend, lid, gem, tin, went]

translator:
# 字典文件
Expand All @@ -130,17 +130,15 @@ speller:
# 拼写匹配
algebra:
- erase/^xx$/ # 首选保留
- derive/^([zcs])h/$1/ # zh, ch, sh => z, c, s
- derive/^([zcs])([^h])/$1h$2/ # z, c, s => zh, ch, sh
- derive/([aei])n$/$1ng/ # en => eng, in => ing
- derive/([aei])ng$/$1n/ # eng => en, ing => in
- derive/([iu])an$/$lan/ # ian => iang, uan => uang
- derive/([iu])ang$/$lan/ # iang => ian, uang => uan
# - derive/^([zcs])h/$1/ # zh, ch, sh => z, c, s
# - derive/^([zcs])([^h])/$1h$2/ # z, c, s => zh, ch, sh
# - derive/([aei])n$/$1ng/ # en => eng, in => ing
# - derive/([aei])ng$/$1n/ # eng => en, ing => in
# - derive/([iu])an$/$lan/ # ian => iang, uan => uang
# - derive/([iu])ang$/$lan/ # iang => ian, uang => uan
- derive/([aeiou])ng$/$1gn/ # dagn => dang
- derive/([dtngkhrzcs])o(u|ng)$/$1o/ # zho => zhong|zhou
- derive/ong$/on/ # zhonguo => zhong guo
- derive/ao$/oa/ # hoa => hao
- derive/([iu])a(o|ng?)$/a$1$2/ # tain => tian
- abbrev/^([a-z]).+$/$1/ #简拼(首字母)
- abbrev/^([zcs]h).+$/$1/ #简拼(zh, ch, sh)
### 自动纠错
Expand Down

0 comments on commit 2be8938

Please sign in to comment.