Dew-OF-Aurora 2 هفته پیش
والد
کامیت
bca4f67d80
1فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  1. 7 1
      custom/rime_frost.custom.yaml

+ 7 - 1
custom/rime_frost.custom.yaml

@@ -5,8 +5,14 @@ patch:
     - lua_filter@*cold_word_drop.filter
 
   translator/dictionary: rime_frost.custom
+  
+  translator/preedit_format/+:
+      - xform/(?<=[A-Z])\s(?=[A-Z])// # 消除大写字母之间的空格
+  
   melt_eng/initial_quality: 1.1
-  recognizer/patterns/punct: "^v([0-9]|10|[A-Za-z]+)$" 
+  
+  recognizer/patterns/punct: "^v([0-9]|10|[A-Za-z]+)$"
+  
   long_word_filter/count: 3
 
   switches: