加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fantizm.schema.yaml 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
郑码 提交于 2018-09-27 07:24 . for 4.5
# Rime schema settings
# encoding: utf-8
# vim: et:ts=2:sw=2:sts=2:fenc=utf-8
#
# [Description]
# 有可能会微调,主要调整的是码表
schema:
schema_id: fantizm
name: 繁体郑码
version: "0.1.0"
author:
- tiglog
description:
基于大地提供的繁体郑码码表制作
敲 ` 键进入拼音反查
dependencies:
- pinyin_simp
switches:
- name: ascii_mode
reset: 0
states: [ "中文", "西文" ]
- name: full_shape
states: [ "半角", "全角" ]
- name: extended_charset
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
- reverse_lookup_translator
filters:
- simplifier
- uniquifier
- reverse_lookup_filter@zhengma_lookup
speller:
alphabet: zyxwvutsrqponmlkjihgfedcba
delimiter: " '"
max_code_length: 4
auto_select_pattern: ".{3,5}"
auto_select: true
translator:
dictionary: &dict
xqzm.fantizm
enable_charset_filter: false
enable_encoder: false
enable_user_dict: false
enable_sentence: false
enable_encoder: false
initial_quality: 0.75
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 助手
尝试更多
代码解读
代码找茬
代码优化