1 Star 0 Fork 19

hqp/Rime五笔

forked from 空山明月/Rime五笔 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
luna_pinyin.schema.yaml 2.03 KB
一键复制 编辑 原始数据 按行查看 历史
# Rime schema
# encoding: utf-8
schema:
schema_id: luna_pinyin
name: 朙月拼音
version: '0.26'
author:
- 佛振 <chen.sst@gmail.com>
description: |
Rime 預設的拼音輸入方案。
參考以下作品而創作:
* CC-CEDICT
* Android open source project
* Chewing - 新酷音
* opencc - 開放中文轉換
dependencies:
- stroke
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
- name: simplification
states: [ 漢字, 汉字 ]
- name: ascii_punct
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:
- punct_translator
- table_translator@custom_phrase
- reverse_lookup_translator
- script_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: zyxwvutsrqponmlkjihgfedcba
delimiter: " '"
algebra:
__patch:
- pinyin:/abbreviation
- pinyin:/spelling_correction
- pinyin:/key_correction
translator:
dictionary: luna_pinyin
preedit_format:
- xform/([nl])v/$1ü/
- xform/([nl])ue/$1üe/
- xform/([jqxy])v/$1u/
custom_phrase:
dictionary: ""
user_dict: custom_phrase
db_class: stabledb
enable_completion: false
enable_sentence: false
initial_quality: 1
reverse_lookup:
dictionary: stroke
enable_completion: true
prefix: "`"
suffix: "'"
tips: 〔筆畫〕
preedit_format:
- xlit/hspnz/一丨丿丶乙/
comment_format:
- xform/([nl])v/$1ü/
punctuator:
import_preset: symbols
key_binder:
import_preset: default
recognizer:
import_preset: default
patterns:
punct: '^/([0-9]0?|[A-Za-z]+)$'
reverse_lookup: "`[a-z]*'?$"
__patch:
# 使用八股文語言模型
- grammar:/hant?
# 用家自選配置
- luna_pinyin.custom:/patch?
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hqp/rime-wubi.git
git@gitee.com:hqp/rime-wubi.git
hqp
rime-wubi
Rime五笔
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385