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

Adjust matching regex to catch fewer unrelated words #46

Merged
merged 2 commits into from
Jul 16, 2023

Conversation

aurorasmiles
Copy link
Contributor

The current matching regex can also match words like pronounciation, or any other word that starts with pronoun. This is an attempt to make the regex more specific.
In the future it might be better to handle this differently to catch pronouns in other languages (french, ...) besides german/english.
uwu

@aurorasmiles aurorasmiles changed the title Adjust matching regex to catch less unrelated words Adjust matching regex to catch fewer unrelated words Jul 15, 2023
@nachtjasmin
Copy link
Contributor

Oh, good catch, thanks for the fix! Just added a test to cover this for the future! :3

@nachtjasmin nachtjasmin merged commit 0240489 into ItsVipra:main Jul 16, 2023
2 of 3 checks passed
@aurorasmiles aurorasmiles deleted the fix/pronoun-regex-sensitivity branch July 16, 2023 09:19
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