-
Notifications
You must be signed in to change notification settings - Fork 2
/
latin_international.schema.yaml
62 lines (53 loc) · 1.77 KB
/
latin_international.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
# Rime schema
# encoding: utf-8
schema:
schema_id: latin_international
name: "拉丁字母混合輸入"
version: "2020.05.08"
author:
- polyhedron<biopolyhedron@gmail.com>
description: |
輸入拉丁字母國際集。支持西歐、土耳其、越南、梵文和阿拉伯文轉寫、大部分國際音標
特殊字符均用';'爲前加符;上標後加q,下標後加Q;組合上加符f,組合下加符F
※※本版dict.yaml採用自動上屏手段,需要更新小狼毫版本至0.9.20或以上!!※※
如有改進建議,歡迎和作者聯繫!
switches:
- name: ascii_mode
reset: 0
states: [ 拉丁, 英文 ]
engine:
processors:
- ascii_composer
- selector
- speller
- punctuator # 先於 editor 才會使空格作符號上屏
- navigator
- express_editor
segmentors:
- ascii_segmentor
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- punct_translator
- table_translator
menu:
alternative_select_keys: '@#$%&_{}\|'
speller:
alphabet: 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`1234567890-=[];'',./~!^*()+:"<>?'
delimiter: ''
# 我看如果編碼中字母在前符號在後,就不要自動上屏的好。
# 因爲打單字母不能自動上屏,只有特殊字符能,反而無法連打完整的單詞。如 bae;d 的分號處
# 如果前置符號鍵,單字母便是唯一碼而可以自動上屏,這個選項就有用了。如 b;aed
auto_select: true
translator:
dictionary: latin_international
enable_user_dict: false
enable_sentence: false
comment_format:
- xform/^~(.*)$/$1/
punctuator: # 只須定義空格一個符號
use_space: true
half_shape: &punct
' ' : { commit: ' ' }
full_shape: *punct