This commit is contained in:
Dvel
2023-12-08 22:40:51 +08:00
parent 1b626ad165
commit 8f2637b397
16 changed files with 58 additions and 78 deletions

View File

@@ -5,7 +5,7 @@
-- processors:
-- 以词定字,可在 default.yaml key_binder 下配置快捷键,默认为左右中括号 [ ]
-- 以词定字,可在 default.yaml key_binder 下配置快捷键,默认为左右中括号 [ ]
select_character = require("select_character")
@@ -26,6 +26,7 @@ number_translator = require("number_translator")
-- filters:
-- 错音错字提示
-- 关闭此 Lua 时,同时需要关闭 translator/spelling_hints否则 comment 里都是拼音
corrector = require("corrector")
-- v 模式 symbols 优先(全拼)
@@ -34,7 +35,7 @@ v_filter = require("v_filter")
-- 自动大写英文词汇
autocap_filter = require("autocap_filter")
-- 降低部分英语单词在候选项的位置,可在方案中配置要降低的单词
-- 降低部分英语单词在候选项的位置,可在方案中配置要降低的模式和单词
reduce_english_filter = require("reduce_english_filter")
@@ -50,6 +51,9 @@ reduce_english_filter = require("reduce_english_filter")
-- long_word_filter:
-- count: 2
-- idx: 4
--
-- 使用请注意:之前有较多网友反应有内存泄漏,优化过一些但还是偶尔有较高的内存,但并不卡顿也不影响性能,重新部署后即正常
-- 如果要启用,建议放到靠后位置,最后一个放 uniquifier倒数第二个就放 long_word_filter
long_word_filter = require("long_word_filter")
-- 中英混输词条自动空格