/usr/share/rime-data/stroke5.schema.yaml is in librime-data-stroke5 0.22-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | # Rime schema settings
# encoding: utf-8
schema:
schema_id: stroke5
name: 筆順五碼
version: "0.4.4"
author:
- 梁敬文 Leung King Man <leungkm1@hotmail.com>
- 王潔貞 Amy Wong <wongkitching01@yahoo.com.hk>
- 陳荃 Chan Chuen <chanc1002@sinatown.com>
- 龍正忠 Lung Ching Chung <lungcc1067@sinatown.com>
- 古國義 Richard Ku <richardkyku@sinatown.com>
- 王林根 Mike Wong <mike_lg_wong@yahoo.com.hk>
- 郭楷 Kwok Kai <kwokkaihk@yahoo.com.hk>
- 呂蔡美冬 Vivian Choi <mtchoi6@yahoo.com.hk>
description: |
筆順五碼輸入法0.4版 <http://input.foruto.com/stroke5>
版權: GPL
支援及維護: 香港長者資訊天地 Hong Kong Seniors IT Advocates <info@hkseniors.net>
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
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
- table_translator
- reverse_lookup_translator
speller:
alphabet: nm,./
delimiter: " ;'"
max_code_length: 5
menu:
page_size: 9
translator:
dictionary: stroke5
preedit_format:
- "xform/^/^/"
- "xform/$/$$/"
- "xlit|m/,.n;'^$|一丨丿丶乙・・【】|"
comment_format:
- "xlit|m/,.n~|一丨丿丶乙~|"
reverse_lookup:
dictionary: luna_pinyin
prefix: "`"
suffix: "'"
tips: 〔拼音〕
preedit_format:
- xform/([nl])v/$1ü/
- xform/([nl])ue/$1üe/
- xform/([jqxy])v/$1u/
comment_format:
- "xlit|m/,.n|一丨丿丶乙|"
key_binder:
bindings:
# Emacs style
- { when: composing, accept: Control+p, send: Up }
- { when: composing, accept: Control+n, send: Down }
- { when: composing, accept: Control+b, send: Left }
- { when: composing, accept: Control+f, send: Right }
- { 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+g, send: Escape }
- { when: composing, accept: Alt+v, send: Page_Up }
- { when: composing, accept: Control+v, send: Page_Down }
# commonly used paging keys
- { when: composing, accept: ISO_Left_Tab, send: Page_Up }
- { when: composing, accept: Shift+Tab, send: Page_Up }
- { when: composing, accept: Tab, send: Page_Down }
- { when: paging, accept: minus, send: Page_Up }
- { when: has_menu, accept: equal, send: Page_Down }
- { when: paging, accept: bracketleft, send: Page_Up }
- { when: has_menu, accept: bracketright, send: Page_Down }
recognizer:
patterns:
email: "^[a-z][-_.0-9a-z]*@.*$"
uppercase: "[A-Z][-_+.'0-9A-Za-z]*$"
reverse_lookup: "`[a-z]*'?$"
|