Răsfoiți Sursa

fix: merge from ice and adjust english idx

Dew-OF-Aurora 2 săptămâni în urmă
părinte
comite
c1c0f92739
2 a modificat fișierele cu 33 adăugiri și 1 ștergeri
  1. 1 1
      custom/rime_frost.custom.dict.yaml
  2. 32 0
      custom/rime_frost.custom.yaml

+ 1 - 1
custom/rime_frost.custom.dict.yaml

@@ -6,7 +6,7 @@ name: rime_frost
 version: "2025-11-25"
 import_tables:
   - cn_dicts/8105     # 字表
-  - cn_dicts/41448    # 大字表(按需启用)
+  ## - cn_dicts/41448    # 大字表(按需启用)
   - cn_dicts/base     # 基础词库
   - cn_dicts/ext      # 扩展词库
   - cn_dicts/tencent  # 腾讯词向量(大词库,部署时间较长)

+ 32 - 0
custom/rime_frost.custom.yaml

@@ -22,7 +22,38 @@ patch:
       abbrev: [词, 单]
       states: [正常, 单字]
 
+  reduce_english_filter:
+    mode: custom
+    idx: 3
+    words: [
+      aid, ann,
+      bail, bait, bam, band, bans, bat, bay, bend, bent, benz, bib, bid, bien, biz, boc, bop, bos, bud, buf, bus, bach, bench, bush, bog,
+      cab, cad, cain, cam, cans, cap, cef, chad, chan, chap, chef, cher, chew, chic, chin, chip, chit, coup, cum, cunt, cur, couch,
+      dab, dag, dal, dam, dent, dew, dial, diet, dim, din, dip, dis, dit, doug, dub, dug, dunn, don,
+      fab, fax, fob, fog, foul, fur, fend,
+      gag, gail, gain, gal, gam, gaol, ged, gel, ger, guam, gus, gut,
+      hail, ham, hank, hans, hat, hay, heil, heir, hem, hep, hex, hud, hum, hung, hunk, hut, hush,
+      jim, jug,
+      kat, key,
+      lab, lad, lag, laid, lam, laos, lap, lat, lax, lay, led, leg, lex, liam, lib, lichen, lid, lied, lien, lies, linn, lip, lit, liz, lob, lug, lund, lung, lux, lash, loch, lush,
+      mag, maid, mann, mar, mat, med, mel, mend, mens, ment, mil, mins, mint, mob, moc, mop, mos, mot, mud, mug, mum, mesh,
+      nap, nat, nay, neil, nib, nip, noun, nous, nun, nut, nail, nash,
+      pac, paid, pail, pain, pair, pak, pal, pam, pans, pant, pap, par, pat, paw, pax, pens, pic, pier, pies, pins, pint, pit, pix, pod, pop, pos, pot, pour, pow, pub, pinch, pouch,
+      rand, rant, rent, rep, res, ret, rex, rib, rid, rig, rim, rub, rug, rum, runc, runs, ranch,
+      sac, sail, sal, sam, sans, sap, saw, sax, sew, sham, shaw, shin, sig, sin, sip, sis, suit, sung, suns, sup, sur, sus, ship,
+      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, yes,
+      zach,
+      my, mt, dj, as, js, cs, ak, ps, cd, cn, hk, bt, pk, ml
+    ]
+
+
   speller/algebra:
+    #-----------------------------------
+    # 让 bei 都能由 be 打出来
+    - derive/^([b])ei$/$1e/
+    #-----------------------------------
     - derive/^([zcs])h/$1/
     - derive/^([zcs])([^h])/$1h$2/
     - derive/ang$/an/
@@ -42,6 +73,7 @@ patch:
     - erase/^m$/
     - erase/^n$/
     - erase/^ng$/
+    # shih -> 时候
     - abbrev/^([a-z]).+$/$1/
     - abbrev/^([zcs]h).+$/$1/
     - abbrev/^([a-z]i).+$/$1/