加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
flypyplus.schema.yaml 4.48 KB
一键复制 编辑 原始数据 按行查看 历史
jimmy54 提交于 2019-12-30 15:29 . feat:update 10.3
# Rime schema settings
# encoding: utf-8
schema:
schema_id: flypyplus
name: 小鹤音形+
version: "10.3"
author:
- 方案设计:何海峰 <flypy@qq.com>
description: |
小鹤音形主码表+隐藏全码
dependencies:
punctuator:
import_preset: default
switches:
- name: ascii_mode
reset: 0
# states: [ 中文, 英文 ]
- name: full_shape
# states: [ 半角, 全角 ]
- name: simplification
# states: [ 简, 繁 ]
reset: 0
- name: ascii_punct
# 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
- lua_translator@date_translator
- lua_translator@time_translator
- table_translator@custom_phraseXT
- table_translator@custom_phraseVD
- table_translator@custom_phraseYH
- reverse_lookup_translator
- history_translator@historyI
- history_translator@historyF
filters:
- simplifier
- simplifier@simplification
- uniquifier
speller:
alphabet: 'abcdefghijklmnopqrstuvwxyz;/'
initials: ';abcdefghijklmnopqrstuvwxyz'
finals: '/'
#delimiter: " '"
max_code_length: 4
auto_select: true
auto_select_pattern: ^;.$|^\w{4}$
auto_clear: max_length #manual|auto|max_length 空码按下一键确认清屏|空码自动清|达到最长码时后码顶上清屏
translator:
dictionary: flypyplus
enable_charset_filter: false
enable_completion: false
enable_sentence: false
enable_user_dict: false
disable_user_dict_for_patterns:
- "^z.*$"
historyI:
input: i
size: 1 #重复前几次上屏
initial_quality: 0 #重码居后
historyF:
input: ;f
size: 1 #重复前几次上屏
initial_quality: 1 #首选
simplification:
opencc_config: s2tw.json
option_name: simplification
tips: all #简繁对照
custom_phraseXT:
dictionary: ""
user_dict: flypy_sys
db_class: stabledb
enable_sentence: false
enable_completion: false
initial_quality: -1 #本表词和系统词重码居后
custom_phraseVD:
dictionary: ""
user_dict: flypy_top
db_class: stabledb
enable_sentence: false
enable_completion: false
initial_quality: 0 #用户词和系统词重码 置顶
custom_phraseYH:
dictionary: ""
user_dict: flypy_user
db_class: stabledb
enable_sentence: false
enable_completion: false
initial_quality: -1 #用户词和系统词重码居后
reverse_lookup:
dictionary: flypydz
comment_format:
# - xform/^/〔/
# - xform/$/〕/
- xform/ / /
key_binder:
import_preset: default
bindings:
- {accept: bracketleft, send: Page_Up, when: paging} # [上翻页
- {accept: bracketright, send: Page_Down, when: has_menu} # ]下翻页
- {accept: comma, send: comma, when: paging} #注销逗号翻页
- {accept: period, send: period, when: has_menu} #注销句号翻页
- {accept: semicolon, send: 2, when: has_menu} #分号次选
#- {accept: Release+semicolon, send: semicolon, when: has_menu} #如要使用分号引导符号功能,并双击上屏分号,需注销此行
#- {accept: period, send: 2, when: has_menu} #句号次选,已用下面内容替代
- {accept: dollar, send: 2, when: composing}
- {accept: Release+dollar, send: period, when: composing}
- {accept: Release+period, send: period, when: composing}
- {accept: comma, send: 2, when: has_menu} #逗号次选
#- {accept: bar, send: 2, when: composing}
#- {accept: Release+bar, send: comma, when: composing}
- {accept: Release+comma, send: comma, when: composing}
- {accept: "Tab", send: Escape, when: composing}
- {accept: "Caps_Lock", send: Escape, when: composing}
- {accept: "Shift_R", send: Escape, when: composing}
- {accept: "Shift+space", toggle: full_shape, when: always} #切换全半角
- {accept: "Control+period", toggle: ascii_punct, when: always} #切换中英标点
# - {accept: "Control+m", select: .next, when: always} #切换方案
- {accept: "Control+j", toggle: simplification, when: always} #切换简繁
recognizer:
import_preset: default
patterns:
#uppercase: "[A-Z][-_+.'0-9A-Za-z]*$"
uppercase: "" #中文状态大写锁定直接上屏
reverse_lookup: "[a-z`]*`+[a-z`]*"
punct: ""
menu:
page_size: 5 #候选项数
style:
horizontal: true #竖排为false
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化