1# emoji.schema.yaml
2
3schema:
4  schema_id: emoji
5  name: Emoji
6  version: "2.2"
7  description: |
8    由Unicode中「Emoticons」部份和「Miscellaneous Symbols and Pictographs」部份合成。
9    可在Mac中輸入iOS設備通用的Emoji表情,其他系統可能需安装專門字體。
10  author:
11    - 雪齋 <leoyoontsaw@gmail.com>
12
13switches:
14  - name: ascii_mode
15
16engine:
17  processors:
18    - ascii_composer
19    - key_binder
20    - speller
21    - recognizer
22    - punctuator
23    - selector
24    - navigator
25    - express_editor
26  segmentors:
27    - matcher
28    - ascii_segmentor
29    - abc_segmentor
30    - punct_segmentor
31    - fallback_segmentor
32  translators:
33    - punct_translator
34    - script_translator
35  filters:
36    - uniquifier
37
38speller:
39  alphabet: zyxwvutsrqponmlkjihgfedcba
40  delimiter: " '"
41  algebra:
42    - "abbrev/^.+$/all/"
43    - "abbrev/^[a-z,]+;([a-z])[a-z]*'?([a-z])?[a-z]*'?([a-z])?[a-z]*`?[a-z]*$/$1$2$3/"
44    - "derive/^[a-z,]+;([a-z]+)'?([a-z]*)'?([a-z]*)`?[a-z]*$/$1$2$3/"
45    - "derive/^[^`]+`([a-z]+)$/$1/"
46    - "derive/^[a-z]+,([a-z]+)(;[a-z'`]+)?$/$1/"
47    - "derive/^([a-z]+),?[a-z]*;[a-z'`]+$/$1/"
48    - "xform/^([a-z]+),?([a-z]*);[a-z'`]+$/$1$2/"
49
50translator:
51  dictionary: emoji
52  spelling_hints: 1
53  comment_format:
54    - "xform/;[a-z'`]*$//"
55    - "xform/^/ /"
56    - "xform/,/ (/"
57    - xform/\((.*)$/\($1\)/
58
59key_binder:
60  import_preset: default
61
62punctuator:
63  import_preset: default
64
65recognizer:
66  import_preset: default
67