-
Notifications
You must be signed in to change notification settings - Fork 7
/
liangfen.schema.yaml
84 lines (74 loc) · 1.49 KB
/
liangfen.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
# Rime schema
# vim: set sw=2 sts=2 et:
# encoding: utf-8
schema:
schema_id: liangfen
name: LiangFen
version: "4.0"
author:
- TianHeng <2417647441@qq.com>
description: |
Use《http://yedict.com/》
http://yedict.com/
Dict is from http://yedict.com/
switches:
- name: ascii_mode
reset: 0
states: [ Chi, Eng ]
- name: full_shape
states: [ Half, Full ]
- name: simplification
states: [ Trad, Simp ]
engine:
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- punct_translator
- r10n_translator
- reverse_lookup_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: zyxwvutsrqponmlkjihgfedcba
delimiter: " '"
algebra:
- abbrev/^([a-z]).+$/$1/
translator:
dictionary: liangfen
spelling_hints: 4
preedit_format:
- "xlit|v|ü|"
- xform/iü/iv/
comment_format:
- "xlit|v|ü|"
- xform/iü/iv/
reverse_lookup:
dictionary: luna_pinyin
prefix: "`"
tips: 〔PinYin〕
preedit_format:
- xform/([nljqxy])v/$1ü/
punctuator:
import_preset: default
menu:
page_size: 5
key_binder:
import_preset: default
recognizer:
import_preset: default
patterns:
reverse_lookup: "`[a-z]*$"