Skip to content

Instantly share code, notes, and snippets.

@lotem
Created December 4, 2017 06:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lotem/a0887724f6f4b8228b868d482e375a0a to your computer and use it in GitHub Desktop.
Save lotem/a0887724f6f4b8228b868d482e375a0a to your computer and use it in GitHub Desktop.
为「朙月拼音·简化字」开启笔画反查
# encoding: utf-8
patch:
schema/dependencies/@next: stroke
engine/translators/@next: reverse_lookup_translator
recognizer/patterns/reverse_lookup: "`[a-z]*'?$"
reverse_lookup:
dictionary: stroke
enable_completion: true
prefix: "`"
suffix: "'"
tips: '〔笔画〕'
preedit_format:
- xlit/hspnz/一丨丿丶乙/
comment_format:
- xform/([nl])v/$1ü/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment