Skip to content

Refine required phrases with stopwords #4238 #4241

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

Merged
merged 6 commits into from
Apr 22, 2025

Conversation

pombredanne
Copy link
Member

@pombredanne pombredanne commented Apr 16, 2025

This PR is a step towards fixing:

This is actually building on top of PR:

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁
  • Updated documentation pages (if applicable)
  • Updated CHANGELOG.rst (if applicable)

Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Do not generate rules for "license key".

Skip short rules that would contain stopwords as
they cannot be matched accurately

Validate short required phrase rules for stopwords

Add tests that highlight the stop word issue

Reference: #4238
Signed-off-by: Philippe Ombredanne <[email protected]>
Do not generate require phrase rules for these
rules.

Reference: #4238
Signed-off-by: Philippe Ombredanne <[email protected]>
@pombredanne
Copy link
Member Author

This can only be merged after:

@pombredanne pombredanne merged commit 494723a into improve-required Apr 22, 2025
38 of 40 checks passed
@pombredanne pombredanne deleted the 4238-required-phrases-with-stopwords branch April 22, 2025 09:54
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.

1 participant