這是我給 RIME 輸入法弄的一個(gè)輸入方案,通過(guò)西里爾字母來(lái)輸入中文坯辩。采用的是俄羅斯?jié)h學(xué)家 Пётр Иванович Кафаров (教名Palladius)設(shè)計(jì)的轉(zhuǎn)寫方案馁龟。使用前請(qǐng)背熟俄文鍵盤,但使用時(shí)不要將自己的鍵盤布局切換成俄文漆魔。
截圖:
我能吞下玻璃而不傷身體
# Rime schema
# vim: set sw=2 sts=2 et:
# encoding: utf-8
schema:
schema_id: palladius
name: "西里爾拼音"
version: "0.0"
author:
- AlephAlpha <alephalpha911@gmail.com>
description: |
通過(guò)西里爾轉(zhuǎn)寫(Систима Палладия)輸入中文
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
- name: simplification
reset: 1
states: [ 漢字, 漢字 ]
engine:
processors:
- ascii_composer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- punct_translator
- r10n_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: '`qwertyuiop[]asdfghjkl;''zxcvbnm,.'
delimiter: " "
algebra:
- erase/^xx$/
- xform/^([zcs])i/$1I/
- xform/^([jqxy])u/$1v/
- xform/^j/cz/
- xform/^q/c/
- xform/^x/s/
- xform/^zh/CZ/
- xform/^ch/C/
- xform/^sh/S/
- xform/^r/Z/
- xform/^z/cz/
- xform/^you$/iu/
- xform/^yv/v/
- xform/^yi?/i/
- xform/^wu$/u/
- xform/ong$/ung/
- xform/uo$/o/
- xform/v$/iui/
- xform/v/iu/
- xform/([aeou])i$/$1y/
- xform/n$/nY/
- xform/ng$/n/
- xform/ia/A/
- xform/ie/E/
- xform/io/O/
- xform/iu/U/
- derive/uy$/uey/
- derive/huy/hoy/
- derive/([bpmf])en/$1In/
- derive/^e$/I/
- derive/([CSZ])i/$1I/
- abbrev/^([A-Za-z]).+$/$1/
- abbrev/^(cz|CZ).+$/$1/
- abbrev/^(.+)Y$/$1/
- 'xlit|abwgdEOZziyklmnoprstufhcCSXHIYeUA|f,dult`;pbqrkvyjghcnea[wxio]sm''.z|'
translator:
dictionary: luna_pinyin
prism: palladius
preedit_format:
- 'xlit|`qwertyuiop[]asdfghjkl;''zxcvbnm,.|ёйцукенгшщзхъфывапролджэячсмитьбю|'
- xform/хуй/хуэй/
punctuator:
full_shape:
' ' : { commit: ' ' }
'/' : { commit: 坷檩。 }
'?' : { commit: , }
'\' : [ 改抡、, \, ` ]
'|' : [ /, ÷, |, '§', '|' ]
'!' : { commit: 矢炼! }
'@' : { pair: [ '“', '”' ] }
'#' : [ #, ? ]
'$' : { commit: ; }
'%' : [ %, '°', '℃', & ]
'^' : { commit: : }
'&' : { commit: 阿纤? }
'*' : [ *, ·, ?, ×, ※, ?, @, ?, ¥, '$', '€', '£', '¥', '¢', '¤' ]
'(' : [ (, 「, 【, 〔, [, 『, 〖, {, 《, 〈, ?, ?, ‘ ]
')' : [ ), 」, 】, 〕, ], 』, 〗, }, 》, 〉, ?, ?, ’ ]
'-' : [ -, ~ ]
'_' : [ ——, …… ]
'+' : +
'=' : =
half_shape:
'/' : { commit: 句灌。 }
'?' : { commit: , }
'\' : [ 欠拾、, '\', '`' ]
'|' : [ 胰锌、, '/', ÷, '|', '§', '|' ]
'!' : { commit: ! }
'@' : { pair: [ '“', '”' ] }
'#' : [ '#', №, ? ]
'$' : { commit: 藐窄; }
'%' : [ '%', '°', '℃', '&' ]
'^' : { commit: : }
'&' : { commit: 资昧? }
'*' : [ '*', ·, ?, ×, ※, ?, '@', ?, ¥, '$', '€', '£', '¥', '¢', '¤' ]
'(' : [ (, 「, 【, 〔, [, 『, 〖, {, 《, 〈, ?, ?, ‘ ]
')' : [ ), 」, 】, 〕, ], 』, 〗, }, 》, 〉, ?, ?, ’ ]
'-' : [ '-', '~' ]
'_' : [ ——, …… ]
'+' : '+'
'=' : '='
key_binder:
import_preset: default
bindings:
- { when: has_menu, accept: comma, send: comma }
- { when: has_menu, accept: period, send: period }