Dew-OF-Aurora il y a 3 heures
Parent
commit
64dea8cd03
2 fichiers modifiés avec 2 ajouts et 13 suppressions
  1. 1 12
      custom/rime_ice.custom.yaml
  2. 1 1
      custom/rime_ice_wanxiang.py

+ 1 - 12
custom/rime_ice.custom.yaml

@@ -110,15 +110,4 @@ patch:
     - derive/([rtsdghkzc])o(u|ng)$/$1o/
     - derive/(.+)ong$/$1on/
     - derive/([tl])eng$/$1en/
-    - derive/([qwrtypsdfghjklzxcbnm])([aeio])ng$/$1ng/
-
-  grammar/language: wanxiang-lts-zh-hans
-  grammar/collocation_max_length: 6
-  grammar/collocation_min_length: 2
-  grammar/collocation_penalty: -14
-  grammar/non_collocation_penalty: -6
-  grammar/weak_collocation_penalty: -100
-  grammar/rear_penalty: -18
-  translator/contextual_suggestions: false
-  translator/max_homophones: 8
-  translator/max_homographs: 7
+    - derive/([qwrtypsdfghjklzxcbnm])([aeio])ng$/$1ng/

+ 1 - 1
custom/rime_ice_wanxiang.py

@@ -41,7 +41,7 @@ CNB_URL = (
     "wanxiang-lts-zh-hans.gram"
 )
 GITHUB_URL = (
-    "https://github.com/amzxyz/RIME-LMDG/releases/download/LTS/"
+    "https://github.com/amzxyz/rime-wanxiang-data/releases/download/LTS/"
     "wanxiang-lts-zh-hans.gram"
 )