Skip to content

Patch recognizer#668

Open
shewer wants to merge 25 commits intorime:masterfrom
shewer:patch_recognizer
Open

Patch recognizer#668
shewer wants to merge 25 commits intorime:masterfrom
shewer:patch_recognizer

Conversation

@shewer
Copy link
Contributor

@shewer shewer commented Jun 30, 2023

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed.

Copy link
Contributor Author

@shewer shewer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thk

@shewer shewer requested a review from eagleoflqj October 15, 2023 21:21
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

Successfully merging this pull request may close these issues.

2 participants