-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhk_mixed_cangjie5.dict.yaml
48 lines (47 loc) · 1.8 KB
/
hk_mixed_cangjie5.dict.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
# encoding: utf-8
#
#
# ---------------------------------------
# https://github.com/qingchen239/RimeCangjieInputConfiguration/blob/master/data/cangjie5.dict.yaml
# encoder\rules: 在這裡,我們規定在輸入詞語時的拆字規則。
# 在最初的版本裡,輸入一個二字的詞語需要輸入第一字的首碼、第一字的尾碼、第二次的首碼、第二次的次首碼和第二次的尾碼。
# 比方說,輸入「陳清」一詞,我們需要輸按下「弓田水手月」。這並不符合我們大多數人的輸入習慣。
# 所以我更改了詞語的拆字規則。現在我們在輸入一個詞時,要按下這個詞中所有字的所有碼。
# 比方說,現在輸入「陳清」一詞,需要按下「弓中木田水手一月」。
#
---
name: hk_mixed_cangjie5
version: "2023.02.07"
sort: by_weight
use_preset_vocabulary: true
max_phrase_length: 8
encoder:
exclude_patterns:
- '^x.*$'
- '^z.*$'
rules:
- length_equal: 1
formula: "AaAbAcAyAz"
- length_equal: 2
formula: "AaAbAcAyAzBaBbBcByBz"
- length_equal: 3
formula: "AaAbAcAyAzBaBbBcByBzZaZbZcZyZz"
- length_equal: 4
formula: "AaAbAcAyAzBaBbBcByBzCaCbCcCyCzZaZbZcZyZz"
- length_equal: 5
formula: "AaAbAcAyAzBaBbBcByBzCaCbCcCyCzYaYbYcYyYzZaZbZcZyZz"
- length_equal: 6
formula: "AaAbAcAyAzBaBbBcByBzCaCbCcCyCzDaDbDcDyDzYaYbYcYyYzZaZbZcZyZz"
- length_equal: 7
formula: "AaAbAcAyAzBaBbBcByBzCaCbCcCyCzDaDbDcDyDzEaEbEcEyEzYaYbYcYyYzZaZbZcZyZz"
- length_equal: 8
formula: "AaAbAcAyAzBaBbBcByBzCaCbCcCyCzDaDbDcDyDzEaEbEcEyEzFaFbFcFyFzYaYbYcYyYzZaZbZcZyZz"
import_tables:
- dicts/cangjie5
- dicts/cangjie5.cj3ext
- dicts/hk_mixed_input.custom
# - dicts/jyut6ping3.phrase
- dicts/jyut6ping3.maps
- dicts/jyut6ping3.words
- dicts/jyut6ping3.lettered
...