rime/tangut_xhzd.schema.yaml
2024-07-18 10:36:13 +08:00

82 lines
No EOL
1.5 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Rime schema settings
# encoding: utf-8
schema:
schema_id: tangut_xhzd
name: 西夏文(夏漢字典序號)
version: "0.4"
author:
- Jerry You
description: |
西夏文輸入法
夏漢字典序號
www.ccamc.org
dependencies:
# - luna_pinyin
switches:
- name: ascii_mode
reset: 0
states: [ 蕃文, 西文 ]
- name: full_shape
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
filters:
- uniquifier
- single_char_filter
speller:
alphabet: 0123456789
delimiter: " ;'"
max_code_length: 6 # 6碼頂字上屏
translator:
dictionary: tangut_xhzd
enable_charset_filter: true
enable_sentence: true
enable_encoder: false
encode_commit_history: true
max_phrase_length: 6
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: "Tangut N4694"
font_point: 30 #字號
menu:
alternative_select_keys: abcde #如編碼字符佔用數字鍵則須另設選字鍵
page_size: 5 #選單每䈎顯示個數