-
Notifications
You must be signed in to change notification settings - Fork 1
/
pinyin.schema.yaml
executable file
·69 lines (63 loc) · 1.76 KB
/
pinyin.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
# Rime schema
# encoding: utf-8
schema:
schema_id: pinyin
name: 拼音(勿用)
version: "2024-10-31"
description: 用于词典部署(不用勾选)
__include: tiger:/switches_engine_script # Rime模块
__include: tiger:/s2t_filter # 简繁滤镜
__include: tiger:/emoji_filter # Emoji 滤镜
__include: tiger:/mars_filter # 火星文滤镜
speller:
alphabet: ";'zyxwvutsrqponmlkjihgfedcba]" # 输入范围 码元
delimiter: " '"
algebra:
- erase/^xx$/
- derive/^([jqxy])u$/$1v/
- derive/^([aoe])([ioun])$/$1$1$2/
- xform/^([aoe])(ng)?$/$1$1$2/
- xform/iu$/Q/
- xform/(.)ei$/$1W/
- xform/uan$/R/
- xform/[uv]e$/T/
- xform/un$/Y/
- xform/^sh/U/
- xform/^ch/I/
- xform/^zh/V/
- xform/uo$/O/
- xform/ie$/P/
- xform/i?ong$/S/
- xform/ing$|uai$/K/
- xform/(.)ai$/$1D/
- xform/(.)en$/$1F/
- xform/(.)eng$/$1G/
- xform/[iu]ang$/L/
- xform/(.)ang$/$1H/
- xform/ian$/M/
- xform/(.)an$/$1J/
- xform/(.)ou$/$1Z/
- xform/[iu]a$/X/
- xform/iao$/N/
- xform/(.)ao$/$1C/
- xform/ui$/V/
- xform/in$/B/
- xlit/QWRTYUIOPSDFGHJKLZXCVBNM/qwrtyuiopsdfghjklzxcvbnm/
translator:
dictionary: pinyin # 字典文件
prism: pinyin
initial_quality: 1 # 该翻译器出字优先级别
__include: tiger:/dict_All_false
key_binder:
import_preset: default
custom_bindings:
__append:
# 在這裏添加只在本方案中生效的按鍵綁定
bindings:
__patch:
- tiger:/keys/page_up_down
- tiger:/keys/selector
- tiger:/keys/options_toggle
__include: tiger:/rec
punctuator: # 设定符号表,这里直接导入外部的symbols文件夹
import_preset: symbols