librime icon indicating copy to clipboard operation
librime copied to clipboard

Patch recognizer

Open shewer opened this issue 2 years ago • 0 comments

Pull request

recognizer/patterns 增加 list 格式,以支援順序檢查 pattern 如範例 default.yaml 包含 upcase email... 可以避免 user tag 被 default 的 upcase 搶去

recognizer/patterns:
   -   pinyin:  P[a-z']*
       tag_name: pattern  #0
   -  import_preset: default:/recognizer/patterns
   -  tag_name: pattern  #2
   -  tag_name: pattern  #3

Issue tracker

Fixes will automatically close the related issue

Fixes #

Feature

Describe feature of pull request

Unit test

  • [ ] Done

Manual test

  • [ ] Done

Code Review

  1. Unit and manual test pass
  2. GitHub Action CI pass
  3. At least one contributor reviews and votes
  4. Can be merged clean without conflicts
  5. PR will be merged by rebase upstream base

Additional Info

shewer avatar Jun 30 '23 00:06 shewer