wubi091/wubi091.schema.yaml

176 lines
4.4 KiB
YAML
Raw Permalink Normal View History

2024-07-22 15:29:59 +08:00
__build_info:
rime_version: 1.5.3
timestamps:
default: 1561218646
default.custom: 1629909200
key_bindings: 1561218646
key_bindings.custom: 0
punctuation: 1561218646
punctuation.custom: 0
wubi091.custom: 1551426638
wubi091.schema: 1629908716
ascii_composer:
good_old_caps_lock: true
customization: 3610074616
engine:
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- punct_translator
- reverse_lookup_translator
- table_translator
key_binder:
bindings:
- {accept: Return, send: Escape, when: composing}
#- {accept: Tab, send: 2, when: has_menu}
#- {accept: period, send: 3, when: has_menu}
- {accept: bracketleft, send: Page_Up, when: paging}
- {accept: bracketright, send: Page_Down, when: has_menu}
- {accept: Return, send: commit_code, when: composing}
- {accept: semicolon, send: 2, when: has_menu}
- {accept: apostrophe, send: 3, when: has_menu}
- {accept: minus, send: Page_Up, when: has_menu}
- {accept: equal, send: Page_Down, when: has_menu}
- {accept: bracketleft, send: Page_Up, when: paging}
- {accept: bracketright, send: Page_Down, when: has_menu}
import_preset: default
menu:
page_size: 3
punctuator:
full_shape:
" ": {commit: " "}
"!": {commit: ""}
"\"": {pair: ["“", "”"]}
"#": ["", "⌘"]
"$": ["¥", "$", "€", "£", "¥", "¢", "¤"]
"%": ["", "°", "℃"]
"&": ""
"'": {pair: ["", ""]}
"(": ""
")": ""
"*": ["", "·", "・", "×", "※", "❂"]
"+": ""
",": {commit: ""}
"-": ""
.: {commit: "。"}
"/": ["", "÷"]
":": {commit: ""}
";": {commit: ""}
"<": ["《", "〈", "«", ""]
"=": ""
">": ["》", "〉", "»", ""]
"?": {commit: ""}
"@": ["", "☯"]
"[": ["【", "", ""]
"\\": ["、", ""]
"]": ["】", "", ""]
"^": {commit: "……"}
_: "——"
"`": ""
"{": ["『", "〖", ""]
"|": ["·", "", "§", "¦"]
"}": ["』", "〗", ""]
"~": ""
half_shape:
"!": {commit: ""}
"\"": {pair: ["“", "”"]}
"#": "#"
"$": ["¥", "$", "€", "£", "¥", "¢", "¤"]
"%": ["%", "", "°", "℃"]
"&": "&"
"'": {pair: ["", ""]}
"(": ""
")": ""
"*": ["*", "", "·", "・", "×", "※", "❂"]
"+": "+"
",": {commit: ""}
"-": "-"
.: {commit: "。"}
"/": ["、", "/", "", "÷"]
":": {commit: ""}
";": {commit: ""}
"<": ["《", "〈", "«", ""]
"=": "="
">": ["》", "〉", "»", ""]
"?": {commit: ""}
"@": "@"
"[": ["【", "", ""]
"\\": ["、", "\\", ""]
"]": ["】", "", ""]
"^": {commit: "……"}
_: "——"
"`": "`"
"{": ["『", "〖", ""]
"|": ["·", "|", "", "§", "¦"]
"}": ["』", "〗", ""]
"~": ["~", ""]
import_preset: default
recognizer:
import_preset: default
patterns:
email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$"
reverse_lookup: "^z[a-z]*'?$"
uppercase: "[A-Z][-_+.'0-9A-Za-z]*$"
url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$"
reverse_lookup:
dictionary: pinyin_simp
preedit_format:
- "xform/([nl])v/$1ü/"
- "xform/([nl])ue/$1üe/"
- "xform/([jqxy])v/$1u/"
prefix: z
suffix: "'"
schema:
author:
- "始创者 行走的风景"
dependencies:
- pinyin_simp
description: |
郁金香
码表源自 ibus-table
敲 z 键进入拼音反查
name: "五笔091"
schema_id: wubi091
version: 0.20.custom.3610074616
schema_list:
- schema: wubi091
- schema: pinyin_simp
speller:
auto_select: true
auto_select_unique_candidate: true
delimiter: " ;'"
switches:
- name: ascii_mode
reset: 1
states: ["中文", "西文"]
- name: full_shape
states: ["半角", "全角"]
- name: ascii_punct
states: [",。", ""]
- name: extended_charset
states: ["通用", "扩展"]
translator:
dictionary: wubi091.extended
disable_user_dict_for_patterns:
- "^z.*$"
enable_charset_filter: true
enable_encoder: true
enable_sentence: true
enable_user_dict: false
encode_commit_history: true
max_phrase_length: 4