-
-
Notifications
You must be signed in to change notification settings - Fork 187
/
radical_pinyin_flypy.schema.yaml
90 lines (83 loc) · 2.27 KB
/
radical_pinyin_flypy.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
# Rime schema settings
# encoding: utf-8
# Copyright (C) Mirtle <[email protected]>
# License: CC BY-SA 4.0 DEED (https://creativecommons.org/licenses/by-sa/4.0/)
schema:
schema_id: radical_pinyin_flypy
name: "偏旁部件拆字(小鹤)"
version: "1.02"
author: Mirtle
description: |
用拼音按顺序拼出偏旁部件,以输入汉字。
码表:開放詞典 / henrysting / Mirtle
注音、校对、方案:Mirtle
报错:<https://github.com/mirtlecn/rime_radical_pinyin>
engine:
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- echo_translator
- punct_translator
- table_translator
speller:
alphabet: "abcdefghijklmnopqrstuvwxyz;"
delimiter: " '"
algebra:
- derive/^([jqxy])u(?=^|$|')/$1v/
- derive/'([jqxy])u(?=^|$|')/'$1v/
- derive/^([aoe])([ioun])(?=^|$|')/$1$1$2/
- derive/'([aoe])([ioun])(?=^|$|')/'$1$1$2/
- xform/^([aoe])(ng)?(?=^|$|')/$1$1$2/
- xform/'([aoe])(ng)?(?=^|$|')/'$1$1$2/
- xform/iu(?=^|$|')/<q>/
- xform/(.)ei(?=^|$|')/$1<w>/
- xform/uan(?=^|$|')/<r>/
- xform/[uv]e(?=^|$|')/<t>/
- xform/un(?=^|$|')/<y>/
- xform/^sh/<u>/
- xform/^ch/<i>/
- xform/^zh/<v>/
- xform/'sh/'<u>/
- xform/'ch/'<i>/
- xform/'zh/'<v>/
- xform/uo(?=^|$|')/<o>/
- xform/ie(?=^|$|')/<p>/
- xform/([a-z>])i?ong(?=^|$|')/$1<s>/
- xform/ing(?=^|$|')|uai(?=^|$|')/<k>/
- xform/([a-z>])ai(?=^|$|')/$1<d>/
- xform/([a-z>])en(?=^|$|')/$1<f>/
- xform/([a-z>])eng(?=^|$|')/$1<g>/
- xform/[iu]ang(?=^|$|')/<l>/
- xform/([a-z>])ang(?=^|$|')/$1<h>/
- xform/ian(?=^|$|')/<m>/
- xform/([a-z>])an(?=^|$|')/$1<j>/
- xform/([a-z>])ou(?=^|$|')/$1<z>/
- xform/[iu]a(?=^|$|')/<x>/
- xform/iao(?=^|$|')/<n>/
- xform/([a-z>])ao(?=^|$|')/$1<c>/
- xform/ui(?=^|$|')/<v>/
- xform/in(?=^|$|')/<b>/
- xform/'|<|>//
translator:
dictionary: radical_pinyin
enable_user_dict: false
prism: flypy_radical_pinyin
punctuator:
import_preset: default
key_binder:
import_preset: default
recognizer:
import_preset: default