85 Commits

Author SHA1 Message Date
Dvel
6f1a6588cd feat: dictionary_exclude 排除词语 close #1429 2026-01-29 16:57:09 +08:00
WantChane
49fb60f2d5 feat: uuid.lua 生成符合RFC 4122标准的UUID v4 (#1383) 2025-10-31 23:59:04 +08:00
Dvel
a5f5404e36 feat: 消除输入框里大写字母之间的空格 resolve #1213 2025-04-01 21:36:58 +08:00
luminosara
4fb922d831 feat: 定制组合键配置示例 (#1131) 2025-03-30 00:51:12 +08:00
Dvel
e3fd65b4f8 conf: 适配 punctuator 的新属性。 close #1180 2025-02-24 05:47:50 +08:00
Dvel
277c4d85dc docs: 更新一些注释,双拼补丁示例 2024-12-06 03:00:07 +08:00
wrvsrx
aa505b7b2d !refactor: Lua 模块引用方式变更 (#1094)
- 删除了 `rime.lua`
- 在方案中引用时添加 `*` 前缀
2024-12-06 00:11:43 +08:00
ChaosAlphard
a79d76ecf3 feat: cC键计算器 (#904)
* feat(lua): calculator

* fix(calc_translator): 修复若干逻辑错误和添加部分功能

- 修复了函数(英文)未输入完整时造成的 result 为 nil 的错误
- 修复了未写参数时,result 类型错误
- 修复了算式(express)为空时(以及用户错误设置了正则表达式时),意外进入生成候选的逻辑
- 添加:随机数函数添加 random 表达
- 添加:候选默认隐藏插件前缀(via cand.prefix),设置 calculator/show_prefix 可以显示
- 功能:该插件所有候选置顶(via cand.quality)
- 功能:从 calculator/prefix 设定项获取前缀,而非自动获取,默认 `cC`

* style(calc_translator.lua):format style, rename calc_translator

---------

Co-authored-by: mirtlecn <mirtle.cn+github@outlook.com>
2024-11-27 14:06:48 +08:00
Dvel
4d67eb7406 dict: 日常更新 2024-10-30 16:28:02 +08:00
mirtlecn
fce588292f doc: 多音节词自动补全开关 new on librime nightly
doc: weasel.yaml 部分注释的版本信息修正
chore: changelog.md 标题格式修正
2024-08-01 02:39:25 +08:00
Hao Yujie
f96067d004 fix: buang -> biang (#837) 2024-05-01 14:06:49 +08:00
mirtlecn
62f3e107a0 fix(lua): corrector.lua now clears specific cand.comment 2024-04-18 11:56:37 +08:00
mirtlecn
fd8c11d736 fix(lua): reduce_english_filter now handles emoji correctly, fix #804 2024-04-14 00:53:27 +08:00
mirtlecn
ef1eb01d42 dict: 拆字词典更新 (#709)
* update radical dict
* update search.lua
* chore: move search.lua down ( after simplifier ), remove shadow cand condition in lua
2024-02-27 22:15:12 +08:00
Dvel
8fc6a6e875 refactor: 用 speller/initials 代替 auto_commit_single_punct.lua 2024-02-24 19:47:54 +08:00
Dvel
fbef83c8b8 feat: auto_commit_single_punct.lua 支持设置多个字符; 带分号的双拼默认单个分号直接上屏 2024-02-24 17:20:06 +08:00
Dvel
788fcb9548 style: 数组缩进 close #693 2024-02-21 22:22:37 +08:00
Dvel
e05b887f00 conf: 调整 cn_en 翻译器权重 1.1 → 0.5 2024-02-11 00:13:33 +08:00
Dvel
a7c5fac2e4 conf: 调整 filters 排序 2024-02-11 00:06:31 +08:00
Dvel
dacea2c5f6 refactor: pin_cand.filter.lua fix #675
- 修改错误的判断逻辑
- 调整了方案中 engine/filters 的排序,自适应简繁
- 不再需要在配置中写 emoji,emoji 将自动吸附
- 解决 M.pin_cands 在方案间的串台问题(改成 env.pin_cands)
2024-02-09 00:16:29 +08:00
mirtlecn
1ffdce6a84 lua: fix #673 (#676)
fix: committed incorrect puncts when user sets non-corresponding keys.
fix: lua hijacked keys when in ascii_mode
fix: handle keys correctly combined with shift
2024-02-07 16:09:51 +08:00
Dvel
5577c26f1d fix: reduce_english_filter.lua 补上 zh ch sh 相关单词 fix #671 2024-02-07 16:02:40 +08:00
Dvel
f3d92bddd0 conf: 全拼默认开启长词优先,配合暴力 GC 2024-02-06 00:29:51 +08:00
Dvel
363ab9c586 docs 2024-02-05 21:59:13 +08:00
Dvel
f12eaa27d0 conf: option name: single_char -> search_single_char close #664 2024-02-04 23:27:50 +08:00
mirtlecn
0017a08e42 config!: use recipe to config double_pinyin (#662)
BREAKING CHANGE: 中英混输词库由英文方案附属切换到单独的 table_translator

- 词库文件由 `cn_en*.dict.yaml` 变为 `cn_en*.txt`
- 双拼不再需要去 `melt_eng.dict.yaml` 更改引用词库
2024-02-04 20:49:51 +08:00
Dvel
188a1112d0 refactor: pin_cand_filter.lua 匹配逻辑改为无空格的 cand.preedit #586 2024-02-02 22:50:12 +08:00
Dvel
86ebf99f4f feat: pin_cand_filter.lua 置顶候选项 #586 2024-02-01 00:30:17 +08:00
Mintimate
58cfa406c7 feat: 英文降频 all 将合并 words 内容 (#650) 2024-01-30 10:17:35 +08:00
Dvel
709127725d conf: 简繁转换对数字大写和农历生效 #652 2024-01-30 08:27:34 +08:00
Dvel
d3762b278b conf: 开关除了 emoji 外不默认设定 reset 2024-01-30 07:44:01 +08:00
Dvel
5c21df5cd9 feat!: 部件拆字反查、辅码 (#643)
BREAKING CHANGE: 部件拆字方案替换了两分方案

Co-authored-by: Mirtle <mirtle.cn@outlook.com>
2024-01-30 07:44:01 +08:00
Dvel
47a8766440 feat: N 开头公历转农历 #565 2024-01-15 00:14:26 +08:00
Dvel
064df83015 feat: translator 改成自动读取 recognizer/patterns 配置来获取触发前缀 close #615 2024-01-14 23:58:37 +08:00
Dvel
76996e8e25 dict: 日常更新; close #604 2024-01-05 19:32:31 +08:00
Dvel
bccc7809ea feat: corrector.lua 支持 comment 格式化配置 close #598 2024-01-03 23:27:55 +08:00
Dvel
659f132fbc feat: 农历 close #565 2024-01-02 22:25:13 +08:00
Dvel
8f2637b397 docs 2023-12-08 22:40:51 +08:00
Dvel
5b026e4345 dict: 日常更新 2023-11-24 20:08:27 +08:00
Dvel
0e843f998f feat: reduce_english_filter.lua 增加一键全降低 2023-10-22 15:21:26 +08:00
Dvel
9431167725 fix: 完善所有双拼 i?ong 键位的正则
当修改 xform 为 derive 以支持双拼全拼混输时,`/i?ong$/` 这个正则与词库中的「唵嘛呢叭咪吽」的 `ong` 音冲突,会导致该键位不出字。
2023-10-22 10:15:19 +08:00
Dvel
e2f33df081 dict: 日常更新 2023-10-22 10:09:18 +08:00
Dvel
4539dcb866 dict: 日常更新 close #522 2023-10-18 01:58:44 +08:00
Dvel
a219451708 fix: reduce_english_filter.lua 可识别含单引号的单词 close #519 2023-10-17 02:32:06 +08:00
Dvel
f276d4de87 dict: 日常更新 #457 close #516 添加一些英文缩写 close #512 2023-10-14 19:35:13 +08:00
Dvel
9155d0d04f conf: 双拼默认不启用简拼 #508 2023-10-12 19:59:16 +08:00
ComfyFluffy
34fbc4043e use fullwidth 'A' for ascii_mode switches (#482) 2023-09-22 19:18:46 +08:00
Dvel
2ada4b8229 fix: 微软双拼的 t v 互通 2023-08-07 23:05:00 +08:00
Dvel
ddf61d3feb refactor: 双拼的转写字符改为更易识别的字符 2023-08-07 21:56:46 +08:00
Dvel
3ce582e195 feat: corrector.lua 错音错字提示 2023-08-06 18:37:28 +08:00