forked from cnfeat/Rime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxmoji.schema.yaml
61 lines (54 loc) · 1.04 KB
/
xmoji.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
# Rime schema
# encoding: utf-8
schema:
schema_id: xmoji
name: '小鹤双拼 Emoji'
version: "0.1"
author:
- amorphobia <[email protected]>
description: |
适用于小鹤双拼的 Emoji 词库
switches:
- name: ascii_mode
reset: 0
states: [ 😃, 🔤 ]
engine:
processors:
- ascii_composer
- key_binder
- speller
- recognizer
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- fallback_segmentor
translators:
- table_translator
filters:
- uniquifier
speller:
alphabet: 'zyxwvutsrqponmlkjihgfedcba'
delimiter: " '"
# max_code_length: 4
auto_select: true
auto_select_pattern: ^\w{4}$
# algebra:
# - xform/\..+$//
translator:
dictionary: xmoji
enable_completion: true
enable_user_dict: false
disable_user_dict_for_patterns:
- "^z.*$"
# preedit_format:
# - xform/e(.+)/😃$1/
# comment_format:
# - xform/\.(.+)/ $1/
key_binder:
import_preset: default
recognizer:
import_preset: default