Commit Graph

118 Commits

Author SHA1 Message Date
Shingo
06074ecb7b
fix(lua): cold_word_drop 修复路径分割符设置和增大候选迭代个数 (#1046) 2024-10-09 11:09:04 +08:00
mirtlecn
2ea99c5e4f fix(lua): https://github.com/iDvel/rime-ice/issues/989#issuecomment-2351366747 2024-09-16 09:29:32 +08:00
mirtlecn
59f81a5a18 fix(lua): #989 依会计凭证书写要求,修正万亿的金额大写格式 2024-09-12 10:10:13 +08:00
Shingo
4fbd67f1dc
refactor: processor.lua 支持 iOS (#1003)
优化候选词写入记录文件, 支持 iOS
2024-08-29 10:12:11 +08:00
mirtlecn
5f30dfbd72 chore(lua): fetch upstream search.lua 2024-08-20 14:03:41 +08:00
mirtlecn
bf863a9edb chore: 简化 en_spacer 判断 2024-07-28 01:20:52 +08:00
mirtlecn
546017504a fix: en_spacer 现在不会在中英标点、空字符前添加空格 2024-07-27 23:33:01 +08:00
mirtlecn
2b4bf3afeb fix: lunar.lua 错误捕获以 N 开头的英文单词 2024-07-27 23:31:22 +08:00
mirtlecn
49c1bd78f2 feat: 数字转写 lua 提供「拾万」、「壹拾万」两个选项 close #967 2024-07-27 18:28:27 +08:00
Shingo
b2cb11c0d6
lua: 简化和修复 cold_word_drop 逻辑 (#923)
* update cold_word_drop
* Delete lua/cold_word_drop/debugtool.lua
* Delete lua/cold_word_drop/turndown_freq_words.lua
2024-06-23 19:37:16 +08:00
Dvel
0b59306d61 dict: 日常更新 #666 2024-06-10 03:47:40 +08:00
Shewer Lu
e33e1d2c44
chore: some adjustments for unicode.lua (#898)
* Update unicode.lua

1.  config:get_string() 可能取得 nil , 增加預設字串
2.  seg:has_tag() , input == "" 提前判斷,可以避免 patterns 未設定的問題

* trim and add change log

---------

Co-authored-by: mirtlecn <mirtle.cn+github@outlook.com>
2024-06-01 21:29:27 +08:00
Dvel
f70a1f1741 dict: 日常更新 #666 2024-05-21 03:50:40 +08:00
mirtlecn
7c30818aac fix(lua): #860 2024-05-16 17:43:54 +08:00
Dvel
d934ea1409 dict: 日常更新 #666 2024-05-16 04:09:52 +08:00
mirtlecn
98d18b74df feat(lua): use translator/keep_comments: true to prevent lua from erasing pinyin comments 2024-05-15 11:15:24 +08:00
mirtlecn
7d5952d97a chore: general upkeep 2024-05-15 10:07:18 +08:00
mirtlecn
0776239aea chore(lua): follow upstream search.lua change 2024-05-14 23:46:37 +08:00
mirtlecn
bcfcb57c89 fix(lua): adjust search.lua for rime-ice 2024-05-08 11:33:14 +08:00
mirtlecn
9e3c53ca44 fix(lua): 当辅码方案用户词典被启用时,search.lua 不再造成词典锁定
- https://github.com/iDvel/rime-ice/pull/643#issuecomment-1913577767
- https://github.com/fcitx5-android/fcitx5-android/issues/410#issuecomment-2088863988
fix(lua): search.lua projection 现在可以在 librime 1.85 上使用
2024-05-08 11:24:18 +08:00
mirtlecn
b2596238ed feat(select_char): commit text directly if cand len < 2 2024-05-08 11:21:15 +08:00
mirtlecn
cfbf36436c fix(lua): #832 2024-04-25 20:53:39 +08:00
Dvel
7d348f6a48 dict: 日常更新 #666 2024-04-19 02:00:36 +08:00
mirtlecn
a13b80837e fix(lua): corrector.lua now handles delimiter correctly 2024-04-18 11:56:37 +08:00
mirtlecn
62f3e107a0 fix(lua): corrector.lua now clears specific cand.comment 2024-04-18 11:56:37 +08:00
Dvel
83aa7087e2 dict: 日常更新 #666 2024-04-10 00:52:46 +08:00
Dvel
440ac15a13 dict: 日常更新 #666 2024-03-20 00:18:59 +08:00
HC
6f28f3dbb8
fix: is_in_user_dict (#741)
支持 table_translator 造出的用户词。
2024-03-17 23:32:11 +08:00
Dvel
3961feaae6 feat: 日期增加格式 %Y-%m-%d %H:%M:%S close #723 2024-03-11 00:15:09 +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
mirtlecn
e56544ec79
dict: 槛(jian 栏杆、圈) (#705)
lua:Unicode.lua 添加数值超限警告,防止 error 产生
2024-02-26 23:53:18 +08:00
Dvel
ec9c14000c dict: 日常更新 2024-02-25 19:00:19 +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
b53f634665 fix: number_translator.lua 对整数再次拆分的错误 fix #696 2024-02-23 16:06:29 +08:00
Dvel
362288fed5 dict: 日常更新 #666 2024-02-21 03:50:40 +08:00
Dvel
6d438fb8f4 dict: 日常更新; 大字表填补多音字注音 close #677 2024-02-18 21:06:04 +08:00
Dvel
a7c5fac2e4 conf: 调整 filters 排序 2024-02-11 00:06:31 +08:00
Dvel
6559e7fbd0 dict: 日常更新 #666 2024-02-10 23:18:12 +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
Dvel
efcb4e2bdd style: Lua 统一缩进 4 空格 2024-02-08 19:06:52 +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
0956308908 fix: '%' 意外不上屏 fix #668 2024-02-06 18:19:21 +08:00
Dvel
f12eaa27d0 conf: option name: single_char -> search_single_char close #664 2024-02-04 23:27:50 +08:00
Dvel
c865232561 feat: pin_cand_filter.lua 支持用 > 分割含有空格的词汇 #586 2024-02-03 13:24:00 +08:00
Dvel
188a1112d0 refactor: pin_cand_filter.lua 匹配逻辑改为无空格的 cand.preedit #586 2024-02-02 22:50:12 +08:00
mirtlecn
b5c67c1b7a
feat: handle cands converted by simplifier filter. (#656)
fix: init function failed if pin_cand_filter: is empty
2024-02-02 12:27:05 +08:00
Dvel
86ebf99f4f feat: pin_cand_filter.lua 置顶候选项 #586 2024-02-01 00:30:17 +08:00
Dvel
d3c47e922d dict: 日常更新 2024-01-31 22:57:11 +08:00