diff --git a/README.md b/README.md index 13f9721..1551b43 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@
-[RIME | 中州韵输入法引擎](https://rime.im/) 是一个跨平台的输入法算法框架,这里是 Rime 的一个配置仓库。 +[RIME(Rime Input Method Engine) / 中州韵输入法引擎](https://rime.im/) 是一个跨平台的输入法算法框架。 -用户需要[下载各平台对应的 Rime 发行版](https://rime.im/download/),并将此配置应用到配置目录。 +这里是 Rime 的一份配置仓库。雾凇拼音提供了一套开箱即用的完整配置,包含了输入方案(全拼、双拼)、长期维护的词库及各项扩展功能。用户需要下载平台对应的前端,并将此配置放到配置目录。 详细介绍:[Rime 配置:雾凇拼音](https://dvel.me/posts/rime-ice/) @@ -72,7 +72,7 @@ ⚠️ 单独使用词库注意事项:`rime_ice.dict.yaml` 下面包含了大写字母,这和配置有些许绑定,可以直接删除,详细说明:[#356](https://github.com/iDvel/rime-ice/issues/356) -雾凇拼音提供了一整套开箱即用的完整配置,包括了多个输入方案、词库及其他功能扩展。其中多个文件可能与其他方案同名冲突,如果是新手想一键安装,建议备份原先配置,清空配置目录再导入。 +雾凇拼音中多个文件可能与其他方案同名冲突,如果是新手想一键安装,建议备份原先配置,清空配置目录再导入。 配置目录为小狼毫的 `%APPDATA%\Rime`,鼠须管的 `~/Library/Rime`,可通过右键菜单栏图标打开。 @@ -120,6 +120,8 @@ bash rime-install iDvel/rime-ice:others/recipes/opencc 参考 [如何导入"雾淞拼音输入方案"](https://github.com/imfuxiao/Hamster/wiki/%E5%A6%82%E4%BD%95%E5%AF%BC%E5%85%A5%22%E9%9B%BE%E6%B7%9E%E6%8B%BC%E9%9F%B3%E8%BE%93%E5%85%A5%E6%96%B9%E6%A1%88%22) +使用九宫格,需要同时启用九宫格方案和九宫格布局。 + ### 自动部署脚本 [Mark24Code/rime-auto-deploy](https://github.com/Mark24Code/rime-auto-deploy) 一个自动部署脚本,集成了雾凇拼音,帮助无痛快速安装、部署 Rime 输入法(中州韵、小狼毫,鼠须管)以及部署配置。 diff --git a/custom_phrase.txt b/custom_phrase.txt index 795ed09..ee47942 100644 --- a/custom_phrase.txt +++ b/custom_phrase.txt @@ -5,7 +5,7 @@ # # 自定义文本 # 适用于全拼,在方案的 custom_phrase/user_dict 指定; -# 双拼默认为 custom_phrase_double.txt 需要手动创建 +# 双拼默认为 custom_phrase_double.txt 需要手动创建并更改上面的 db_name 为 custom_phrase_double # # 以 Tab 分割:汉字编码权重 # diff --git a/default.yaml b/default.yaml index b7c7290..9f3efe2 100644 --- a/default.yaml +++ b/default.yaml @@ -214,7 +214,7 @@ key_binder: # - { when: composing, accept: Control+a, send: Home } # - { when: composing, accept: Control+e, send: End } # - { when: composing, accept: Control+d, send: Delete } - # - { when: composing, accept: Control+k, send: Shift+Delete } + - { when: composing, accept: Control+k, send: Shift+Delete } # - { when: composing, accept: Control+h, send: BackSpace } # - { when: composing, accept: Control+g, send: Escape } # - { when: composing, accept: Control+bracketleft, send: Escape } @@ -229,7 +229,7 @@ key_binder: # - { when: always, accept: Control+period, toggle: ascii_punct } # - { when: always, accept: Control+slash, toggle: traditionalization } - # 将小键盘 0~9 . 映射到主键盘,数字金额大写的 Lua(R1234.5678)可使用小键盘输入 + # 将小键盘 0~9 . 映射到主键盘,数字金额大写的 Lua 如 R1234.5678 可使用小键盘输入 - {accept: KP_0, send: 0, when: composing} - {accept: KP_1, send: 1, when: composing} - {accept: KP_2, send: 2, when: composing} diff --git a/double_pinyin.schema.yaml b/double_pinyin.schema.yaml index 2e001b3..3b0f09c 100644 --- a/double_pinyin.schema.yaml +++ b/double_pinyin.schema.yaml @@ -101,7 +101,7 @@ date_translator: # 几种模式: # all 降低所有 3~4 位长度、前 2~3 位是完整拼音、最后一位是声母的单词 # none 不降低任何单词,相当于没有启用这个 Lua -# custom 自定义,只降低 custom 里的 +# custom 自定义,只降低 words 里的 # (匹配的是编码,不是单词) reduce_english_filter: mode: custom # all | none | custom diff --git a/double_pinyin_abc.schema.yaml b/double_pinyin_abc.schema.yaml index 8b7f777..f5923ad 100644 --- a/double_pinyin_abc.schema.yaml +++ b/double_pinyin_abc.schema.yaml @@ -100,7 +100,7 @@ date_translator: # 几种模式: # all 降低所有 3~4 位长度、前 2~3 位是完整拼音、最后一位是声母的单词 # none 不降低任何单词,相当于没有启用这个 Lua -# custom 自定义,只降低 custom 里的 +# custom 自定义,只降低 words 里的 # (匹配的是编码,不是单词) reduce_english_filter: mode: custom # all | none | custom diff --git a/double_pinyin_flypy.schema.yaml b/double_pinyin_flypy.schema.yaml index 496cb36..046409f 100644 --- a/double_pinyin_flypy.schema.yaml +++ b/double_pinyin_flypy.schema.yaml @@ -101,7 +101,7 @@ date_translator: # 几种模式: # all 降低所有 3~4 位长度、前 2~3 位是完整拼音、最后一位是声母的单词 # none 不降低任何单词,相当于没有启用这个 Lua -# custom 自定义,只降低 custom 里的 +# custom 自定义,只降低 words 里的 # (匹配的是编码,不是单词) reduce_english_filter: mode: custom # all | none | custom diff --git a/double_pinyin_mspy.schema.yaml b/double_pinyin_mspy.schema.yaml index ab5a300..500142b 100644 --- a/double_pinyin_mspy.schema.yaml +++ b/double_pinyin_mspy.schema.yaml @@ -101,7 +101,7 @@ date_translator: # 几种模式: # all 降低所有 3~4 位长度、前 2~3 位是完整拼音、最后一位是声母的单词 # none 不降低任何单词,相当于没有启用这个 Lua -# custom 自定义,只降低 custom 里的 +# custom 自定义,只降低 words 里的 # (匹配的是编码,不是单词) reduce_english_filter: mode: custom # all | none | custom diff --git a/double_pinyin_sogou.schema.yaml b/double_pinyin_sogou.schema.yaml index 0275c08..7741325 100644 --- a/double_pinyin_sogou.schema.yaml +++ b/double_pinyin_sogou.schema.yaml @@ -101,7 +101,7 @@ date_translator: # 几种模式: # all 降低所有 3~4 位长度、前 2~3 位是完整拼音、最后一位是声母的单词 # none 不降低任何单词,相当于没有启用这个 Lua -# custom 自定义,只降低 custom 里的 +# custom 自定义,只降低 words 里的 # (匹配的是编码,不是单词) reduce_english_filter: mode: custom # all | none | custom diff --git a/double_pinyin_ziguang.schema.yaml b/double_pinyin_ziguang.schema.yaml index 69eaa47..0e915eb 100644 --- a/double_pinyin_ziguang.schema.yaml +++ b/double_pinyin_ziguang.schema.yaml @@ -101,7 +101,7 @@ date_translator: # 几种模式: # all 降低所有 3~4 位长度、前 2~3 位是完整拼音、最后一位是声母的单词 # none 不降低任何单词,相当于没有启用这个 Lua -# custom 自定义,只降低 custom 里的 +# custom 自定义,只降低 words 里的 # (匹配的是编码,不是单词) reduce_english_filter: mode: custom # all | none | custom diff --git a/melt_eng.schema.yaml b/melt_eng.schema.yaml index f37ecba..d71fca6 100644 --- a/melt_eng.schema.yaml +++ b/melt_eng.schema.yaml @@ -47,7 +47,7 @@ speller: delimiter: " '" algebra: # 根据当前所用拼音方案选择 __include 的值 - # 如果要在补丁中修改 algebra 以适配双拼,请参考 [常见问题](https://github.com/iDvel/rime-ice/issues/133) + # 如果要在补丁中(melt_eng.custom.yaml)修改 algebra 以适配双拼,请参考 [常见问题](https://github.com/iDvel/rime-ice/issues/133) __include: algebra_rime_ice # 全拼 # __include: algebra_double_pinyin # 自然码双拼 # __include: algebra_flypy # 小鹤双拼 diff --git a/others/CHANGELOG.md b/others/CHANGELOG.md index fad4e5d..6cb7b39 100644 --- a/others/CHANGELOG.md +++ b/others/CHANGELOG.md @@ -4,10 +4,22 @@ +## 2023-11-29 + +九宫格方案 2~9 的映射由 ADGJMPTW 改为 23456789 [a0e0ef8](https://github.com/iDvel/rime-ice/commit/a0e0ef807e4ebc50771563717375f554c9473315) + +全键盘切换到九宫格方案不再需要删除词库中的大写字母。 + +(更新至仓输入法商店版 2.1.0 或 TF 119 后可自动适应) + ## 2023-10-30 📖 完成同义多音字的注音问题 [#353](https://github.com/iDvel/rime-ice/issues/353) +## 2023-09-08 🆕 + +仓输入法九宫格方案 [72acbc7](https://github.com/iDvel/rime-ice/commit/72acbc7a2e53cbac7d6f3ab4a82bc457a7ed8f27) + ## 2023-08-07 🆕 支持搜狗双拼 [34ab972](https://github.com/iDvel/rime-ice/commit/34ab9725ea9cdf918cbf9f6a4c27d61db7736b07) diff --git a/others/Hamster/README.md b/others/Hamster/README.md index 147443b..6e1b388 100644 --- a/others/Hamster/README.md +++ b/others/Hamster/README.md @@ -4,10 +4,4 @@ (可选)解开 `engine/translators` 下的英文翻译器注释,将 `melt_eng.custom.yaml` 复制到配置目录,可以支持九宫格输入英文,方便输入一些短单词,但会导致全键盘方案无法输入英文。 -
---- - -
- -因为 [#332 ](https://github.com/imfuxiao/Hamster/issues/322)的原因,目前还不能选择拼音。 diff --git a/rime.lua b/rime.lua index 5b64b34..5b743d9 100644 --- a/rime.lua +++ b/rime.lua @@ -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") -- 中英混输词条自动空格 diff --git a/rime_ice.schema.yaml b/rime_ice.schema.yaml index 76628a0..d507c71 100644 --- a/rime_ice.schema.yaml +++ b/rime_ice.schema.yaml @@ -92,7 +92,7 @@ date_translator: # 几种模式: # all 降低所有 3~4 位长度、前 2~3 位是完整拼音、最后一位是声母的单词 # none 不降低任何单词,相当于没有启用这个 Lua -# custom 自定义,只降低 custom 里的 +# custom 自定义,只降低 words 里的 # (匹配的是编码,不是单词) reduce_english_filter: mode: custom # all | none | custom diff --git a/squirrel.yaml b/squirrel.yaml index 0f533f4..981ab5c 100644 --- a/squirrel.yaml +++ b/squirrel.yaml @@ -8,6 +8,7 @@ # 鼠须管界面配置指南: https://github.com/LEOYoon-Tsaw/Rime_collections/blob/master/鼠鬚管介面配置指南.md # 鼠须管作者写的图形化的皮肤设计器: https://github.com/LEOYoon-Tsaw/Squirrel-Designer + # 要比共享目录的同名文件的 config_version 大才可以生效 config_version: '2023-02-27' @@ -70,21 +71,21 @@ preset_color_schemes: label_font_point: 12 comment_font_face: "Helvetica" # 注字体及大小 comment_font_point: 16 - candidate_list_layout: stacked # 候选项排列方向 stacked | linear - text_orientation: horizontal # 文字排列方向 horizontal | vertical - inline_preedit: true # 拼音位于: 候选框 false | 行内 true - translucency: false # 磨砂: false | true - mutual_exclusive: false # 色不叠加: false | true - border_height: 0 # 外边框 高 - border_width: 0 # 外边框 宽 - corner_radius: 10 # 外边框 圆角半径 - hilited_corner_radius: 0 # 选中框 圆角半径 - surrounding_extra_expansion: 0 # 候选项背景相对大小? - shadow_size: 0 # 阴影大小 - line_spacing: 5 # 行间距 - base_offset: 0 # 字基高 - alpha: 1 # 透明度,0~1 - spacing: 10 # 拼音与候选项之间的距离 (inline_preedit: false) + # candidate_list_layout: stacked # 候选项排列方向 stacked(默认) | linear + # text_orientation: horizontal # 文字排列方向 horizontal(默认) | vertical + inline_preedit: true # 拼音位于: 候选框 false | 行内 true + translucency: false # 磨砂: false | true + mutual_exclusive: false # 色不叠加: false | true + border_height: 0 # 外边框 高 + border_width: 0 # 外边框 宽 + corner_radius: 10 # 外边框 圆角半径 + hilited_corner_radius: 0 # 选中框 圆角半径 + surrounding_extra_expansion: 0 # 候选项背景相对大小? + shadow_size: 0 # 阴影大小 + line_spacing: 5 # 行间距 + base_offset: 0 # 字基高 + alpha: 1 # 透明度,0~1 + spacing: 10 # 拼音与候选项之间的距离 (inline_preedit: false) color_space: srgb # 色彩空间: srgb | display_p3 back_color: 0x545554 # 底色 hilited_candidate_back_color: 0xE3E3E3 # 选中底色 diff --git a/t9.schema.yaml b/t9.schema.yaml index 5a7f74c..da0c225 100644 --- a/t9.schema.yaml +++ b/t9.schema.yaml @@ -2,12 +2,12 @@ # encoding: utf-8 -# 适配了仓输入法 Hamster 九宫格布局。 +# 适配了仓输入法 [Hamster](https://github.com/imfuxiao/Hamster/) 九宫格布局。 # 参考于仓作者 [morse.hsiao](https://github.com/imfuxiao) 的示例 # # 可选,支持英文: # 1. 解开 `engine/translators` 下的注释 -# 2. 将 `others/Hamster九宫格/melt_eng.custom.yaml` 里的文件拷贝至配置目录,转写英文的拼写规则到九宫格; +# 2. 将 `others/Hamster/melt_eng.custom.yaml` 里的文件拷贝至配置目录,该补丁转写了英文的拼写规则到九宫格; __include: rime_ice.schema.yaml:/ @@ -73,46 +73,13 @@ key_binder: speller: alphabet: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA987654321 algebra: - ### 模糊音 - # 声母 + # 如果需要模糊音,可参考 rime_ice.schema.yaml 下的示例,放到最前面来就行,但不会正常显示模糊后的拼音。 # - derive/^([zcs])h/$1/ # - derive/^([zcs])([^h])/$1h$2/ - # - derive/^l/n/ # 解释:为 l 开头的拼写派生出 n 开头,即 nai 也可以输出「来、莱、赖……」 - # - derive/^n/l/ # lai 可输出「奶」,可以单向或成对儿启用模糊音 - # - derive/^f/h/ - # - derive/^h/f/ - # - derive/^l/r/ - # - derive/^r/l/ - # - derive/^g/k/ - # - derive/^k/g/ - # 韵母 - # - derive/ang$/an/ - # - derive/an$/ang/ - # - derive/eng$/en/ - # - derive/en$/eng/ - # - derive/in$/ing/ - # - derive/ing$/in/ - # - derive/ian$/iang/ - # - derive/iang$/ian/ - # - derive/uan$/uang/ - # - derive/uang$/uan/ - # - derive/ai$/an/ - # - derive/an$/ai/ - # - derive/ong$/un/ - # - derive/un$/ong/ - # - derive/ong$/on/ - # - derive/iong$/un/ - # - derive/un$/iong/ - # - derive/ong$/eng/ - # - derive/eng$/ong/ - # 拼音音节 - # - derive/^fei$/hui/ - # - derive/^hui$/fei/ - # - derive/^hu$/fu/ - # - derive/^fu$/hu/ - # - derive/^wang$/huang/ - # - derive/^huang$/wang/ - ### T9拼音穷举 + # - derive/^l/n/ + # - derive/^n/l/ + # …… + # T9拼音穷举,感谢仓作者 [morse.hsiao](https://github.com/imfuxiao) 勤劳的小手。 - derive/[abc]/2/ - derive/[bc]a/22/ - derive/[bc]ai/224/ @@ -344,5 +311,5 @@ speller: - derive/[xyz]un|zuo/986/ # 仓 TF 119 之前的版本需要: # 1. 启用大写字母,解开下面的注释 - # 2. 删除 rime_ice.dict.yaml 下的大写字母 # - xlit/22233344455566677778889999/AAADDDGGGJJJMMMPPPPTTTWWWW/ + # 2. 删除 rime_ice.dict.yaml 下的大写字母