Open
Description
我想实现同一个方案中混输拼音和日文,所以定义了两个翻译器,方案部分配置如下
engine:
filters:
- simplifier
- "simplifier@emoji_suggestion"
- "reverse_lookup_filter@japanese_revers_lookup"
- uniquifier
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
- script_translator
- "script_translator@japanese"
translator:
dictionary: luna_pinyin
prism: pinyin_japanese
enable_user_dict: true
japanese:
comment_format:
- "xlit|q|ー|"
dictionary: japanese
enable_user_dict: true
enable_sentence: true
enable_completion: true
preedit_format:
- "xlit|q|ー|"
spelling_hints: 1
现在simplifier会对两个翻译器的结果都进行简化,导致部分日文单词的汉字变成了简体的,但是同时我又希望保留使用拼音打中文时的简繁转换功能,请问如何配置才能够令simplifier只对某个翻译器的结果进行转换或者排除某个翻译器呢,我已经翻遍了wiki中的每一页,但是没有发现如何进行相关的配置
Metadata
Assignees
Labels
No labels