Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何去掉使用反查找不到匹配时出现的前导键 #1691

Open
vincentaxhe opened this issue Oct 30, 2024 · 0 comments
Open

如何去掉使用反查找不到匹配时出现的前导键 #1691

vincentaxhe opened this issue Oct 30, 2024 · 0 comments

Comments

@vincentaxhe
Copy link

  translators:
    - punct_translator
    - table_translator
    - reverse_lookup_translator
    - reverse_lookup_translator@pinyin_lookup
    - reverse_lookup_translator@english
    - reverse_lookup_translator@emoji

reverse_lookup:
  extra_tags:
    - pinyin_lookup
    - english
    - emoji

pinyin_lookup:
  tag: pinyin_lookup
  dictionary: pinyin
  prefix: "i"
  tips: "〔拼〕"
  preedit_format:
    - xform/^i//
    - xform/([nl])v/$1ü/
    - xform/([nl])ue/$1üe/
    - xform/([jqxy])v/$1u/

english:
  tag: english
  dictionary: easy_en
  prefix: "u"
  tips: "〔En〕"
  enable_completion: true
  preedit_format:
    - xform/^u//

emoji:
  tag: emoji
  dictionary: emoji
  prefix: ";"
  tips: "〔emoji〕"
  enable_completion: true
  preedit_format:
    - xform/^;//

我给自己用的音形码输入法用不到的ui键作为拼音反查和英文输入切换键,当先打u使用英文时,如果没找到单词,用return上屏会把u包含进去,怎么样能不包含u,当进入u英文输入时,无论输入什么,找到就用空格上屏,找不到就用return上屏,都不会包含第一个u。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant