-
Notifications
You must be signed in to change notification settings - Fork 1
/
tiger_code_exp.schema.yaml
99 lines (90 loc) · 3.22 KB
/
tiger_code_exp.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
# Rime schema
# encoding: utf-8
schema:
author:
- Hertz Hwang <hertz@26hz.com.cn>
dependencies:
- charset
- pinyin
- fast_symbol
- tiger_spelling_pseudo
- easy_en
- japanese
- tiger_codes
- tiger_oni
- tiger_phrase
description: |
虎码单字·延迟顶功
name: "主方案2-赫兹虎延迟顶(实验性)"
schema_id: tiger_code_exp
version: "2024-12-01"
__patch:
- tiger_code.custom:/patch?
- engine/filters/@next: simplifier@chinese_english
- engine/processors/@before: lua_processor@*hertz.auto_select_processor
__include: tiger:/switches_engine_table # Rime模块
__include: tiger:/fast_symbol_translator # 快符
__include: tiger:/easy_en_translator # 英文
__include: tiger:/japanese_translator # 日文
__include: tiger:/tiger_codes_translator # 官方虎词
__include: tiger:/tiger_oni_translator # 九重鬼虎
__include: tiger:/tiger_phrase_translator # 赫兹虎单整句
__include: tiger:/tiger_phrases_translator # 官方虎词整句
__include: tiger:/moss_tiger_translator # 摩斯乱码
__include: tiger:/reverse_lookup_translator_xh # 小鹤反查
__include: tiger:/s2t_filter # 简繁滤镜
__include: tiger:/history_filter # z 键历史
__include: tiger:/emoji_filter # Emoji 滤镜
__include: tiger:/cn_en_filter # 中英滤镜
__include: tiger:/mars_filter # 火星文滤镜
__include: tiger:/embeded_cands_filter # 候选嵌入
__include: tiger:/hertz # Hertz定制
speller:
alphabet: "~;'zyxwvutsrqponmlkjihgfedcbaUPOI]V"
#length_limit: 999
auto_select_phrase: true # 是否简码自动上屏
#auto_select_simple_code: true # 前两码是否自动上屏
#mannal_43_split: true # 是否识别43切分为331
#auto_43_split: true # 是否自动识别43切分为331
auto_code: 4 # N码自动上屏
algebra:
__patch:
- tiger:/algebra/core # 核心拼算
- tiger:/algebra/phrase # 整句拼算
- tiger:/algebra/erase # 擦除编码
translator:
dictionary: tiger_code
enable_encoder: false # 造词
encode_commit_history: false # 上屏字造词
enable_completion: false # 逐码提示
enable_sentence: true # 整句模式
sentence_over_completion: false # 简码组句
enable_user_dict: false # 记录词频
stop_change: false # 停止调频造词
initial_quality: 9 # 出字优先级
#preedit_format:
# - xform/([a-z])U/$1'/
# - xform/([a-z][a-z])I/$1'/
# - xform/([a-z][a-z][a-z])O/$1'/
# - xform/([a-z][a-z][a-z][a-z])P/$1'/
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:
#import_preset:
__include: tiger:/punctuator
tiger_spelling:
lua:
switch_key: "Control+c"
cycle_key: "Shift+Control+C"
schema_name:
spelling: tiger_spelling_pseudo
code: tiger_code_exp