-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhuma.japanese.schema.yaml
67 lines (57 loc) · 1.17 KB
/
huma.japanese.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
# Rime schema
# vim: set sw=2 sts=2 et:
# encoding: utf-8
schema:
schema_id: huma.japanese
name: 虎碼・日本語・勿用勿改
version: 'v0.2'
author:
- ensigma96 <[email protected]>
description: |
僞方案,不能打字。
不要選我,不要修改本方案及配套词典。
switches:
- name: ascii_mode
reset: 0
states: [ 假名, 西文 ]
- name: half_shape
states: [ 半角, 全角 ]
reset: 0
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
filters:
- uniquifier
speller:
alphabet: 'zyxwvutsrqponmlkjihgfedcba-_'
delimiter: " '"
algebra:
- 'derive/_/x/'
- 'derive/-/q/'
- 'derive/_/l/'
# Add / remove rules the as you wish
- 'derive/i_e/ye/'
# - 'derive/fu/hu/'
translator:
dictionary: huma.japanese
spelling_hints: 5
comment_format:
- 'xlit|q|ー|'
preedit_format:
- 'xlit|q|ー|'