-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkb_zu_im.schema.yaml
110 lines (101 loc) · 2.02 KB
/
kb_zu_im.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# Rime schema
# version: "v0.1.0.0"
# encoding: utf-8
schema:
schema_id: kb_zu_im
name: 按鍵練習【台語音標注音】
version: "0.1"
author:
- Alan Jui <[email protected]>
description: |
用「羅馬拼音字母」輸入「方音符號」
方音符號:
ㄅ ㄆ ㄇ ㆠ
ㄉ ㄊ ㄋ ㄌ
ㄍ ㄎ ㄏ ㄫ ㆣ
ㄗ ㄘ ㄙ ㆡ
ㄐ ㄑ ㄒ ㆢ
ㄧ ㄨ ㆪ ㆫ
ㄚ ㆦ ㄜ ㆤ ㆧ ㆩ ㆥ
ㄞ ㄠ ㆮ ㆯ
ㆰ ㆱ ㆬ
ㄢ ㄣ ㄤ ㆲ ㄥ ㆭ
鍵盤對應:
ㄅ ㄉ 3 2 7 5 . ㄚ ㄞ ㄢ n
ㄆ ㄊ ㄍ ㄐ ㆣ ㄗ ㄧ ㆦ ㆤ ㄣ
ㄇ ㄋ ㄎ ㄑ ㄫ ㄘ ㄨ ㄜ ㄠ ㄤ
ㆠ ㄌ ㄏ ㄒ J ㄙ ㆬ ㆰ ㆲ ㆭ
switches:
- name: ascii_mode
reset: 0
states: [漢文 ABC]
- name: full_shape
reset: 0
states: [半形 全形]
engine:
processors:
- punctuator
- selector
- express_editor
segmentors:
- punct_segmentor
translators:
- punct_translator
punctuator:
half_shape: &symtable
"1" : ㄅ
"q" : ㄆ
"!" : 万
"a" : ㄇ
"2" : ㄉ
"w" : ㄊ
"s" : ㄋ
"x" : ㄌ
"y" : ㄗ
"h" : ㄘ
"b" : ㄖ
"n" : ㄙ
"Y" : ㄐㄧ
"H" : ㄑㄧ
"B" : ㄖㄧ
"N" : ㄒㄧ
"e" : ㄍ
"d" : ㄎ
"E" : 兀
"g" : ⁰兀
"c" : ㄏ
"u" : ㄧ
"j" : ㄨ
"8" : ㄚ
"i" : ㄛ
"k" : ㄜ
"," : ㄝ
"9" : ㄞ
"l" : ㄠ
"0" : ㄢ
";" : ㄤ
"-" : ㄭ
"U" : ⁰ㄧ
"J" : ⁰ㄨ
"*" : ⁰ㄚ
"I" : ⁰ㄛ
"<" : ⁰ㄝ
"(" : ⁰ㄞ
"L" : ⁰ㄠ
"M" : ㄚㄇ
"o" : ㄛㄥ
"/" : ㄥ
"p" : ㄣ
"m" : ㄇ
"_" : { commit: " " }
" " : "¹"
"4" : "²"
"3" : "³"
"6" : "⁵"
"5" : "⁷"
"7" : ["⁴", "⁸", "⁰"]
"Z": [ "¹", "²", "³", "⁴", "⁵", "⁷", "⁸", "⁰" ]
"z": [ "ㆴ", "ㆵ", "ㆻ", "ㆷ" ]
"." : ["", "ⁿ", "ㄬ", "ㄯ"]
full_shape:
".": 。