-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyitian_26Keys.schema.yaml
91 lines (82 loc) · 1.94 KB
/
yitian_26Keys.schema.yaml
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
# Rime schema settings
# encoding: utf-8
# 倚天26鍵
schema:
schema_id: yitian_26Keys
name: 倚天26鍵
version: '0.4'
author:
- 倚天26鍵
description: |
倚天26鍵
dependencies:
- cangjie5
# - luna_pinyin
# - terra_pinyin
# - bopomofo
# - stroke
switches:
- name: ascii_mode
reset: 0
states: ['中', 'En']
- name: full_shape
reset: 0
states: ["半形", "全形"]
- name: ascii_punct
reset: 1
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:
- echo_translator # ※ 沒有其他候選字時,回顯輸入碼
- punct_translator # ※ 轉換標點符號
- script_translator # ※ 腳本翻譯器,用於拼音等基於音節表的輸入方案
- r10n_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: '/;zyxwvutsrqponmlkjihgfedcba'
initials: 'abcdefghijklmnopqrstuvwxyz;'
finals: '/'
auto_select: true
auto_select_pattern: ^;.$|^\w{4}$
max_code_length: max_length
translator:
dictionary: yitian_26Keys.extended
prism: yitian_26Keys
# enable_charset_filter: true
# encode_commit_history: true
# enable_sentence: true
# sentence_over_completion: true
enable_completion: false
# enable_encoder: true
enable_user_dict: true
# initial_quality: 0.75
simplifier:
tips: all #简繁对照
punctuator:
import_preset: default
key_binder:
import_preset: default
recognizer:
patterns:
punct: '^/([0-9]0?|[A-Za-z]+)$'
email: '^[a-z][-_.0-9a-z]*@.*$'
uppercase: "^[A-Z][-_+.'0-9A-Za-z]*$"
url: "^(https?:|ftp:|mailto:|file:).*$"
reverse_lookup: "`[a-z]*'?$|[a-z]+'$"