Skip to content

Make improvements to Vocabulary list #80

Open
@SecondSkoll

Description

@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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions