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