加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xqjz.schema.yaml 2.30 KB
一键复制 编辑 原始数据 按行查看 历史
郑码 提交于 2018-09-04 10:22 . for 4.4
# Rime schema settings
# encoding: utf-8
# vim: et:ts=2:sw=2:sts=2:fenc=utf-8
#
# [Description]
# 有可能会微调,主要调整的是码表
schema:
schema_id: xqjz
name: 小泉简郑
version: "0.4.1"
author:
- tiglog
description:
简单版的郑码,目标是为了快速打字
敲 ` 键进入拼音反查
dependencies:
- pinyin_simp
switches:
- name: ascii_mode
reset: 0
states: [ "中文", "西文" ]
- name: full_shape
states: [ "半角", "全角" ]
- name: s2t
states: [ 常规, 繁体 ]
engine:
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- echo_translator
- punct_translator
- table_translator@custom_phrase
- table_translator
- reverse_lookup_translator
filters:
- simplifier
- uniquifier
- reverse_lookup_filter@zhengma_lookup
## https://github.com/LEOYoon-Tsaw/Rime_collections/blob/master/Rime_description.md
speller:
alphabet: zyxwvutsrqponmlkjihgfedcba
delimiter: " '"
max_code_length: 4
auto_select_pattern: ".{3,5}"
auto_select: true
translator:
dictionary: &dict
xqjz
enable_charset_filter: false
enable_encoder: false
enable_user_dict: false
enable_sentence: false
enable_encoder: false
#encode_commit_history: false
initial_quality: 0.75
custom_phrase:
dictionary: ""
user_dict: xqzm_custom_phrase
db_class: stabledb
enable_sentence: false
initial_quality: 0
simplifier:
opencc_config: s2t.json
option_name: s2t
tags: [ abc ]
tips: all
emoji_suggestion:
opencc_config: emoji.json
option_name: emoji_suggestion
tips: all
reverse_lookup:
dictionary: pinyin_simp
prefix: "`"
tips: 〔拼音〕
preedit_format:
- "xform/([nl])v/$1ü/"
- "xform/([nl])ue/$1üe/"
- "xform/([jqxy])v/$1u/"
zhengma_lookup:
tags: [ abc, pinyin ]
dictionary: *dict
overwrite_comment: false
#comment_format:
#- "xform/$/」/"
#- "xform/^/「/"
key_binder:
import_preset: default
punctuator:
import_preset: symbols
recognizer:
import_preset: default
patterns:
reverse_lookup: "`[a-z]*$"
punct: "^/([a-z]+|[0-9])$"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化