-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkatakana.schema.yaml
89 lines (79 loc) · 1.81 KB
/
katakana.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
# Rime schema
# vim: set sw=2 sts=2 et:
# encoding: utf-8
schema:
schema_id: katakana
name: 片仮名
version: "2014.05.19"
author:
- polyhedron <polyhedron@gmail.com>
- foodgen <chen.sst@gmail.com>
description: |
假名輸入,小寫假名用x前導
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
- table_translator
filters:
- uniquifier
menu:
page_size: 1
speller:
auto_select: true
alphabet: 'abcdefghijklmnopqrstuvwxyz-'
initials: 'abcdefghijklmnopqrstuvwxyz-'
translator:
dictionary: katakana
enable_charset_filter: false
enable_completion: true
enable_encoder: true
enable_sentence: false
enable_user_dict: false
encode_commit_history: true
max_phrase_length: 4
punctuator:
import_preset: default
full_shape: &symbols
'.': {commit: 。 }
',': {commit: 、 }
'/': ・
'=': [ ゝ, ゞ ]
'+': [ ヽ, ヾ ]
half_shape: *symbols
key_binder:
import_preset: default
bindings:
- { when: has_menu, accept: minus, send: minus }
- { when: has_menu, accept: equal, send: equal }
- { when: paging, accept: comma, send: comma }
- { when: has_menu, accept: period, send: period }
- { accept: Shift_L, select: hiragana, when: always}
- { accept: Shift_R, select: hiragana, when: always}
- { accept: Alt_R, select: tiger, when: always}
recognizer:
import_preset: default
ascii_composer:
switch_key:
Eisu_toggle: clear