-
Notifications
You must be signed in to change notification settings - Fork 1
/
wenzhounese.schema.yaml
90 lines (81 loc) · 2.05 KB
/
wenzhounese.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
# 文件名:wenzhounese.schema.yaml
# Date: 2023-07
# Rime schema
# encoding: utf-8
# 本作品採用許可證[AGPL-3.0](https://www.gnu.org/licenses/agpl-3.0.html)進行許可。
# 版權所有 © 2023 Wolken <zwolken@foxmail.com | zharry@web.de>
schema:
schema_id: wenzhounese
name: 溫州話
version: "1.0.0"
icon: "wen.ico"
author:
- Wolken
- Email <zwolken@foxmail.com | zharry@web.de>
description:
基於Rime的溫州話輸入方案規則(采用沈克成先生-沈迦先生的拼音方案)
dependencies:
- luna_pinyin
- pinyin_simp
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: simplification
reset: 0
# 0[默認缺省值]:輸出原字形(繁體);1:啓用「繁→簡」轉換,輸出簡體字
states: [ 漢字, 汉字 ]
- name: full_shape
states: [ 半角, 全角 ]
- name: ascii_punct
states: [ 中式, 西式 ]
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
- script_translator
- reverse_lookup_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: abcdefghijklmnopqrstuvwxyz
delimiter: " '"
algebra:
translator:
dictionary: wenzhounese
spelling_hints: 5
reverse_lookup:
dictionary: luna_pinyin
#dictionary: pinyin_simp
#若需要繁體字形拼音反查:刪除上方luna_pinyin行前#字符,並用#字符注釋pinyin_simp行
#若需要繁體字形拼音反查:刪除上方pinyin_simp行前#字符,並用#字符注釋luna_pinyin行
prefix: "`"
suffix: "'"
tips: 〔拼音反查〕
preedit_format:
- xform/([nl])v/$1ü/
- xform/([nl])ue/$1üe/
- xform/([jqxy])v/$1u/
punctuator:
import_preset: default
key_binder:
import_preset: default
recognizer:
import_preset: default
patterns:
reverse_lookup: "`[a-z]*'?$"