-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgene_numeric.schema.yaml
49 lines (46 loc) · 1.44 KB
/
gene_numeric.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
# Rime schema
# encoding: utf-8
__include: gene.schema:/
schema:
schema_id: gene_numeric
name: 台山話(數字聲調版)
version: "0.0.0"
author:
- 𥹘𥼱〈Discord 𥹘𥼱#3329〉
- suspiciouscactus〈Discord suspiciouscactus#2120〉
description:
陳振文「Gene Chin」台山話拼系輸入法
https://sites.fitnyc.edu/users/gene_chin/hed/intro/index.htm
支援數字聲調顯示同輸入
translator:
dictionary: hoisanva
prism: gene_numeric
spelling_hints: 5
comment_format:
# For some reason the `xform` doesn't work correctly and removes tone
# information without extra characters in the replacement string when using
# a diacritic. Add a space at the end of the replacement string as a
# workaround.
# `xform` tones with longer strings first so they don't get intercepted by
# substring `xform`s.
- xform/325\b/³²⁵ /
- xform/215\b/²¹⁵ /
- xform/55\b/⁵⁵ /
- xform/33\b/³³ /
- xform/35\b/³⁵ /
- xform/11\b/¹¹ /
- xform/15\b/¹⁵ /
- xform/31\b/³¹ /
- xform/21\b/²¹ /
preedit_format:
# `xform` tones with longer strings first so they don't get intercepted by
# substring `xform`s.
- xform/(?:q[rwz]|r[qwr]|w[qrz]|z[qrw])\b/⁵⁵/
- xform/qq\b/³⁵/
- xform/rr\b/¹⁵/
- xform/ww\b/³²⁵/
- xform/zz\b/²¹⁵/
- xform/q\b/³³/
- xform/r\b/¹¹/
- xform/w\b/³¹/
- xform/z\b/²¹/