From fce588292f0b69ed967197a2b347708ace96dd7b Mon Sep 17 00:00:00 2001 From: mirtlecn Date: Thu, 1 Aug 2024 02:37:44 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E5=A4=9A=E9=9F=B3=E8=8A=82=E8=AF=8D?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E8=A1=A5=E5=85=A8=E5=BC=80=E5=85=B3=20new=20?= =?UTF-8?q?on=20librime=20nightly=20doc:=20weasel.yaml=20=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=B3=A8=E9=87=8A=E7=9A=84=E7=89=88=E6=9C=AC=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=BF=AE=E6=AD=A3=20chore:=20changelog.md=20=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- double_pinyin.schema.yaml | 1 + double_pinyin_abc.schema.yaml | 1 + double_pinyin_flypy.schema.yaml | 1 + double_pinyin_mspy.schema.yaml | 1 + double_pinyin_sogou.schema.yaml | 1 + double_pinyin_ziguang.schema.yaml | 1 + others/CHANGELOG.md | 6 +++--- rime_ice.schema.yaml | 23 ++++++++++++----------- weasel.yaml | 2 +- 9 files changed, 22 insertions(+), 15 deletions(-) diff --git a/double_pinyin.schema.yaml b/double_pinyin.schema.yaml index aae9e29..154adbd 100644 --- a/double_pinyin.schema.yaml +++ b/double_pinyin.schema.yaml @@ -157,6 +157,7 @@ pin_cand_filter: # 主翻译器,拼音 translator: dictionary: rime_ice # 挂载词库 rime_ice.dict.yaml + enable_word_completion: true # 大于 4 音节的词条自动补全,librime > 1.11.2 prism: double_pinyin # 多方案共用一个词库时,为避免冲突,需要用 prism 指定一个名字。 spelling_hints: 8 # corrector.lua :为了让错音错字提示的 Lua 同时适配全拼双拼,将拼音显示在 comment 中 always_show_comments: true # corrector.lua :Rime 默认在 preedit 等于 comment 时取消显示 comment,这里强制一直显示,供 corrector.lua 做判断用。 diff --git a/double_pinyin_abc.schema.yaml b/double_pinyin_abc.schema.yaml index 7fa54b1..c5356eb 100644 --- a/double_pinyin_abc.schema.yaml +++ b/double_pinyin_abc.schema.yaml @@ -157,6 +157,7 @@ pin_cand_filter: # 主翻译器,拼音 translator: dictionary: rime_ice # 挂载词库 rime_ice.dict.yaml + enable_word_completion: true # 大于 4 音节的词条自动补全,librime > 1.11.2 prism: double_pinyin_abc # 多方案共用一个词库时,为避免冲突,需要用 prism 指定一个名字。 spelling_hints: 8 # corrector.lua :为了让错音错字提示的 Lua 同时适配全拼双拼,将拼音显示在 comment 中 always_show_comments: true # corrector.lua :Rime 默认在 preedit 等于 comment 时取消显示 comment,这里强制一直显示,供 corrector.lua 做判断用。 diff --git a/double_pinyin_flypy.schema.yaml b/double_pinyin_flypy.schema.yaml index b4a6b87..2fe79a3 100644 --- a/double_pinyin_flypy.schema.yaml +++ b/double_pinyin_flypy.schema.yaml @@ -157,6 +157,7 @@ pin_cand_filter: # 主翻译器,拼音 translator: dictionary: rime_ice # 挂载词库 rime_ice.dict.yaml + enable_word_completion: true # 大于 4 音节的词条自动补全,librime > 1.11.2 prism: double_pinyin_flypy # 多方案共用一个词库时,为避免冲突,需要用 prism 指定一个名字。 spelling_hints: 8 # corrector.lua :为了让错音错字提示的 Lua 同时适配全拼双拼,将拼音显示在 comment 中 always_show_comments: true # corrector.lua :Rime 默认在 preedit 等于 comment 时取消显示 comment,这里强制一直显示,供 corrector.lua 做判断用。 diff --git a/double_pinyin_mspy.schema.yaml b/double_pinyin_mspy.schema.yaml index 8b29a6d..37a9e93 100644 --- a/double_pinyin_mspy.schema.yaml +++ b/double_pinyin_mspy.schema.yaml @@ -157,6 +157,7 @@ pin_cand_filter: # 主翻译器,拼音 translator: dictionary: rime_ice # 挂载词库 rime_ice.dict.yaml + enable_word_completion: true # 大于 4 音节的词条自动补全,librime > 1.11.2 prism: double_pinyin_mspy # 多方案共用一个词库时,为避免冲突,需要用 prism 指定一个名字。 spelling_hints: 8 # corrector.lua :为了让错音错字提示的 Lua 同时适配全拼双拼,将拼音显示在 comment 中 always_show_comments: true # corrector.lua :Rime 默认在 preedit 等于 comment 时取消显示 comment,这里强制一直显示,供 corrector.lua 做判断用。 diff --git a/double_pinyin_sogou.schema.yaml b/double_pinyin_sogou.schema.yaml index 0188e8a..49fe352 100644 --- a/double_pinyin_sogou.schema.yaml +++ b/double_pinyin_sogou.schema.yaml @@ -157,6 +157,7 @@ pin_cand_filter: # 主翻译器,拼音 translator: dictionary: rime_ice # 挂载词库 rime_ice.dict.yaml + enable_word_completion: true # 大于 4 音节的词条自动补全,librime > 1.11.2 prism: double_pinyin_sogou # 多方案共用一个词库时,为避免冲突,需要用 prism 指定一个名字。 spelling_hints: 8 # corrector.lua :为了让错音错字提示的 Lua 同时适配全拼双拼,将拼音显示在 comment 中 always_show_comments: true # corrector.lua :Rime 默认在 preedit 等于 comment 时取消显示 comment,这里强制一直显示,供 corrector.lua 做判断用。 diff --git a/double_pinyin_ziguang.schema.yaml b/double_pinyin_ziguang.schema.yaml index 549daa6..16cb00e 100644 --- a/double_pinyin_ziguang.schema.yaml +++ b/double_pinyin_ziguang.schema.yaml @@ -157,6 +157,7 @@ pin_cand_filter: # 主翻译器,拼音 translator: dictionary: rime_ice # 挂载词库 rime_ice.dict.yaml + enable_word_completion: true # 大于 4 音节的词条自动补全,librime > 1.11.2 prism: double_pinyin_ziguang # 多方案共用一个词库时,为避免冲突,需要用 prism 指定一个名字。 spelling_hints: 8 # corrector.lua :为了让错音错字提示的 Lua 同时适配全拼双拼,将拼音显示在 comment 中 always_show_comments: true # corrector.lua :Rime 默认在 preedit 等于 comment 时取消显示 comment,这里强制一直显示,供 corrector.lua 做判断用。 diff --git a/others/CHANGELOG.md b/others/CHANGELOG.md index 2fb0084..02b7194 100644 --- a/others/CHANGELOG.md +++ b/others/CHANGELOG.md @@ -2,10 +2,10 @@ 除日常更新词库外的一些主要更新 🆕 及破坏性变更 ⚠️。 -## 2024.07.27 +## 2024-07-27 -- `number_translator.lua`: 转换时,将「拾万」和「壹拾万」作为两个独立的候选。 -- `en_spacer.lua`:现在不会在中英标点、空字符前添加空格。将在英文后添加空格,修改为在英文前添加空格。 +- `number_translator.lua`: 🆕 转换时,将「拾万」和「壹拾万」作为两个独立的候选。 +- `en_spacer.lua`:⚠️ 现在不会在中英标点、空字符前添加空格。将在英文后添加空格,修改为在英文前添加空格。 ## 2024-05-15 diff --git a/rime_ice.schema.yaml b/rime_ice.schema.yaml index 061fe77..fdc7b4d 100644 --- a/rime_ice.schema.yaml +++ b/rime_ice.schema.yaml @@ -289,19 +289,20 @@ pin_cand_filter: # 主翻译器,拼音 translator: - dictionary: rime_ice # 挂载词库 rime_ice.dict.yaml - spelling_hints: 8 # corrector.lua :为了让错音错字提示的 Lua 同时适配全拼双拼,将拼音显示在 comment 中 - always_show_comments: true # corrector.lua :Rime 默认在 preedit 等于 comment 时取消显示 comment,这里强制一直显示,供 corrector.lua 做判断用。 - initial_quality: 1.2 # 拼音的权重应该比英文大 - comment_format: # 标记拼音注释,供 corrector.lua 做判断用 + dictionary: rime_ice # 挂载词库 rime_ice.dict.yaml + enable_word_completion: true # 大于 4 音节的词条自动补全,librime > 1.11.2 + spelling_hints: 8 # corrector.lua :为了让错音错字提示的 Lua 同时适配全拼双拼,将拼音显示在 comment 中 + always_show_comments: true # corrector.lua :Rime 默认在 preedit 等于 comment 时取消显示 comment,这里强制一直显示,供 corrector.lua 做判断用。 + initial_quality: 1.2 # 拼音的权重应该比英文大 + comment_format: # 标记拼音注释,供 corrector.lua 做判断用 - xform/^/[/ - xform/$/]/ - preedit_format: # preedit_format 影响到输入框的显示和“Shift+回车”上屏的字符 - - xform/([jqxy])v/$1u/ # 显示为 ju qu xu yu - # - xform/([nl])v/$1ü/ # 显示为 nü lü - # - xform/([nl])ue/$1üe/ # 显示为 nüe lüe - - xform/([nl])v/$1v/ # 显示为 nv lv - - xform/([nl])ue/$1ve/ # 显示为 nve lve + preedit_format: # preedit_format 影响到输入框的显示和“Shift+回车”上屏的字符 + - xform/([jqxy])v/$1u/ # 显示为 ju qu xu yu + # - xform/([nl])v/$1ü/ # 显示为 nü lü + # - xform/([nl])ue/$1üe/ # 显示为 nüe lüe + - xform/([nl])v/$1v/ # 显示为 nv lv + - xform/([nl])ue/$1ve/ # 显示为 nve lve # 次翻译器,英文 diff --git a/weasel.yaml b/weasel.yaml index b97e662..cb9c6cb 100644 --- a/weasel.yaml +++ b/weasel.yaml @@ -14,7 +14,7 @@ config_version: "2024-05-14" app_options: firefox.exe: inline_preedit: true # 行内显示预编辑区:规避 - # cmd.exe: # 带 .exe 的进程名:Weasel 15.0 及之前版本须小写; PR #1049 合并后释出的版本大小写不敏感 + # cmd.exe: # 带 .exe 的进程名:Weasel 15.0 及之前版本须小写 # ascii_mode: true # 英文模式 # conhost.exe: # ascii_mode: true