Files
rime_wanxiang/wanxiang_english.schema.yaml
amzxyz aec548ed8a refactor(english): 全新的英文方案与配套整句体验
- 智能上屏加空格,支持空格、回车打断信号,换行不会输出一个前面有空格的单词

- 首字母大写格式化,双大写则全大写格式化,支持句中对应位置操作

- 之前万象为了整洁与混合方案放在一起,很多以为万象没有英文,那个时候是词语级的,现在升级为更加智能的整句输入体验,再次独立出来未来将更深入维护,同时也是为了配合.netx切换方案
2026-01-21 17:44:35 +08:00

64 lines
1.6 KiB
YAML
Executable File
Raw 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
# encoding: utf-8
schema:
schema_id: wanxiang_english
name: 万象英文
version: "lts"
author: amzxyz
description: |
支持整句输入英文的语句流方案,拥有更加智能的词组上屏加空格策略,支持单词组、语句任意词组中首字母大写或者全大写格式化。
switches:
- name: ascii_mode
reset: 0
states: [整句, 字母]
engine:
processors:
- lua_processor@*backspace_limit
- ascii_composer
- key_binder
- speller
- recognizer
- selector
- navigator
- express_editor
segmentors:
- matcher
- ascii_segmentor
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- table_translator
- punct_translator
filters:
- lua_filter@*super_english
- uniquifier
speller:
alphabet: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
delimiter: " '"
algebra:
__include: wanxiang_algebra:/english/通用规则
__patch: wanxiang_algebra:/english/全拼 #可选的选项有(全拼, 自然码, 小鹤双拼, 微软双拼, 搜狗双拼, 智能ABC, 紫光双拼, 拼音加加)
translator:
dictionary: wanxiang_english
user_dict: en
enable_completion: true
enable_sentence: true
initial_quality: 2
comment_format:
- xform/^~.+$//
key_binder:
import_preset: default
recognizer:
import_preset: default
#英文自动加空格除关闭外共有3种模式可供选择
#off: 关闭; before: 总是前加; after: 总是后加;
#smart: 智能模式连续输入英文时第二个单词前开始加空格,非输入状态的回车与空格都能打断加空格状态
english_spacing: smart