fix #200; fix #201; 小鹤首字母简拼

This commit is contained in:
Dvel 2023-04-14 12:36:15 +08:00
parent a86d55c50e
commit 57ef79a9ba
3 changed files with 9 additions and 9 deletions

View File

@ -4,7 +4,7 @@
# 复制自 rime_ice.schema.yaml ,适配了双拼。 # 复制自 rime_ice.schema.yaml ,适配了双拼。
# 双拼键位映射复制自 https://github.com/rime/rime-double-pinyin # 双拼键位映射复制自 https://github.com/rime/rime-double-pinyin
# 双拼和全拼主要就是 speller/algebra 和 translator/preedit_format 这里有区别。 # 双拼之间主要就是 speller/algebra 和 translator/preedit_format 这里有区别。
# #
# 全拼的自定义文本和双拼有些冲突,改成了 custom_phrase_double ,需要创建 custom_phrase_double.txt 文件。 # 全拼的自定义文本和双拼有些冲突,改成了 custom_phrase_double ,需要创建 custom_phrase_double.txt 文件。
# #
@ -218,8 +218,8 @@ recognizer:
# 从 default 继承快捷键 # 从 default 继承快捷键
key_binder: key_binder:
import_preset: default import_preset: default # 从 default.yaml 继承通用的
# bindings: # 也可以再增加方案专属的快捷键 # bindings: # 也可以再增加方案专有的
# 拼写设定 # 拼写设定

View File

@ -218,8 +218,8 @@ recognizer:
# 从 default 继承快捷键 # 从 default 继承快捷键
key_binder: key_binder:
import_preset: default import_preset: default # 从 default.yaml 继承通用的
# bindings: # 也可以再增加方案专属的快捷键 # bindings: # 也可以再增加方案专有的
# 拼写设定 # 拼写设定
@ -228,7 +228,7 @@ speller:
alphabet: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA alphabet: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
delimiter: " '" # 第一位<空格>是拼音之间的分隔符;第二位<'>表示可以手动输入单引号来分割拼音。 delimiter: " '" # 第一位<空格>是拼音之间的分隔符;第二位<'>表示可以手动输入单引号来分割拼音。
algebra: algebra:
#- abbrev/^(.).+$/$1/ # 首字母简拼 - abbrev/^(.).+$/$1/ # 首字母简拼
- erase/^xx$/ - erase/^xx$/
- derive/^([jqxy])u$/$1v/ - derive/^([jqxy])u$/$1v/
- derive/^([aoe])([ioun])$/$1$1$2/ - derive/^([aoe])([ioun])$/$1$1$2/

View File

@ -222,8 +222,8 @@ recognizer:
# 从 default 继承快捷键 # 从 default 继承快捷键
key_binder: key_binder:
import_preset: default # 从 default.yaml 继承通用的 import_preset: default # 从 default.yaml 继承通用的
# bindings: # 也可以再增加方案专有的 # bindings: # 也可以再增加方案专有的
# 拼写设定 # 拼写设定
@ -232,7 +232,7 @@ speller:
alphabet: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA; alphabet: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA;
delimiter: " '" # 第一位<空格>是拼音之间的分隔符;第二位<'>表示可以手动输入单引号来分割拼音。 delimiter: " '" # 第一位<空格>是拼音之间的分隔符;第二位<'>表示可以手动输入单引号来分割拼音。
algebra: algebra:
- abbrev/^(.).+$/$1/ # 首字母简拼 - abbrev/^(.).+$/$1/ # 首字母简拼
- erase/^xx$/ - erase/^xx$/
- derive/^([jqxy])u$/$1v/ - derive/^([jqxy])u$/$1v/
- derive/^([aoe].*)$/o$1/ - derive/^([aoe].*)$/o$1/