Skip to content

Commit

Permalink
fix: 降权大写单词的小写形式编码 iDvel#666 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirtlecn committed Oct 12, 2024
1 parent 06074ec commit 87a7de4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lua/reduce_english_filter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function M.init(env)
"wash", "zach",
-- 其他
"quanx", "eg",
"my", "mt", "dj", "as", "js", "cs", "ak", "ps", "cd", "cn", "hk", "bt", "pk"
}
M.all = {}
for _, v in ipairs(all) do
Expand Down
3 changes: 2 additions & 1 deletion rime_ice.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ reduce_english_filter:
tad, tail, taj, tar, tax, tec, ted, tel, ter, tex, tic, tied, tier, ties, tim, tin, tit, tour, tout, tum,
wag, wand, womens, wap, wax, weir, won, went,
yan, yen,
zach
zach,
my, mt, dj, as, js, cs, ak, ps, cd, cn, hk, bt, pk # 一些由算法转写的大写单词编码
]


Expand Down

0 comments on commit 87a7de4

Please sign in to comment.