rime/sawndip.schema.yaml

114 lines
2.5 KiB
YAML
Raw Permalink Normal View History

2024-07-18 02:36:13 +00:00
# Rime schema settings
# encoding: utf-8
schema:
schema_id: sawndip
name: 古壮字拼音
version: "0.1"
author:
- Jerry You
description: |
古壮字拼音輸入法
www.ccamc.co
dependencies:
# - luna_pinyin
switches:
- name: ascii_mode
reset: 0
states: [ 壮文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
# - name: simplification
# states: [ 漢字, 汉字 ]
# - name: extended_charset
# 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
#- reverse_lookup_translator
- table_translator
filters:
# - simplifier
- uniquifier
- single_char_filter
speller:
alphabet: abcdefghijklmnopqrstuvwxyz
delimiter: " ;'"
max_code_length: 7 # 7碼頂字上屏
translator:
dictionary: sawndip
enable_user_dict: false
enable_charset_filter: true
enable_sentence: false
enable_encoder: false
encode_commit_history: true
max_phrase_length: 6
# preedit_format:
# - xform/^([a-z]*)$/$1\U$1\E/
# - "xlit|ABCDEFGHIJKLMNOPQRSTUVWXYZ|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符|"
# comment_format:
# - "xlit|abcdefghijklmnopqrstuvwxyz~|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符~|"
# disable_user_dict_for_patterns:
# - "^z.*$"
# - "^yyy.*$"
#abc_segmentor:
# extra_tags:
# - reverse_lookup # 與拼音(反查碼)混打
reverse_lookup:
dictionary: luna_pinyin
prefix: "`"
suffix: "'"
tips: 〔拼音〕
preedit_format:
- xform/([nl])v/$1ü/
- xform/([nl])ue/$1üe/
- xform/([jqxy])v/$1u/
comment_format:
- "xlit|abcdefghijklmnopqrstuvwxyz|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符|"
simplifier:
tips: all # 簡化字模式下提示對應的傳統漢字
punctuator:
import_preset: symbols
key_binder:
import_preset: default
recognizer:
import_preset: default
patterns:
punct: "^/[0-9]*[a-z]*$"
reverse_lookup: "`[a-z]*'?$"
style:
font_face: "HuanZhuangziSong R"
font_point: 35 #字號
menu:
# alternative_select_keys: 1234567 #如編碼字符佔用數字鍵則須另設選字鍵
page_size: 5 #選單每䈎顯示個數