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

Make improvements to Vocabulary list #80

Open
2 tasks
SecondSkoll opened this issue Aug 20, 2024 · 0 comments
Open
2 tasks

Make improvements to Vocabulary list #80

SecondSkoll opened this issue Aug 20, 2024 · 0 comments

Comments

@SecondSkoll
Copy link
Contributor

@izmalk made a great suggestion in #79 around making lower case vocabulary entries be captured for upper case usage (for use at the start of sentences). This made me think that plurals are also not accounted for - and terms that can be pluralised should also be captured.

  • Edit all lower case vocabulary terms to accept upper case using selective syntax like, e.g. [Uu]ppercase

    • Full case insensitivity can be a bad idea, as it will allow CAPSLOCK/PascalCase/camelCase usage.
  • Allow all terms that can be pluralised accept the plural versions as well, e.g. [Nn]namespace(?:s)?

    • It would be ideal to use non-capturing groups for plurals, as it would be best to use common syntax, and they will speed up processing compared to capturing groups.
    • It could also be a good idea to accept other parts of speech as well.
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

No branches or pull requests

1 participant