加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xqzm.schema.yaml 2.54 KB
一键复制 编辑 原始数据 按行查看 历史
郑码 提交于 2018-09-15 21:54 . for 4.4.2
# Rime schema settings
# encoding: utf-8
# vim: et:ts=2:sw=2:sts=2:fenc=utf-8
#
# [Description]
# 有可能会微调,主要调整的是码表
schema:
schema_id: xqzm
name: 小泉郑码
version: "0.5.0"
author:
- tiglog
description:
超大字符集郑码
敲 ` 键进入拼音反查
简入繁出 需要安装 opencc 简繁转换词典
dependencies:
- pinyin_simp
switches:
- name: ascii_mode
reset: 0
states: [ "中文", "西文" ]
- name: full_shape
states: [ "半角", "全角" ]
#- name: extended_charset
#states: [ "通用", "增广" ]
- options: [ gbk, utf8, big5 ]
reset: 1
states:
- GBK
- UTF8
- BIG5
- name: emoji_suggestion
reset: 1
states: [ "🈚️️\uFE0E", "🈶️️\uFE0F" ]
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@emoji_suggestion
- simplifier
- uniquifier
- charset_filter@utf8
- charset_filter@gbk
- charset_filter@big5
- 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: true
use_space: false
translator:
dictionary: &dict
xqzm
enable_charset_filter: false
enable_encoder: false
enable_user_dict: false
enable_sentence: false
enable_encoder: false
encode_commit_history: false
initial_quality: 0.8
custom_phrase:
dictionary: ""
user_dict: xqzm_custom_phrase
db_class: stabledb
enable_sentence: false
initial_quality: 0
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 助手
尝试更多
代码解读
代码找茬
代码优化