Skip to content

Be more flexible with case sensitivity #3

@martinodb

Description

@martinodb

Currently the bot is case sensitive because that way it's easier to recognize proper nouns (ie names, like Anna, Bob Smith, etc). For the same reason, I can't allow initial capitalization, because then the bot doesn't know if it's upper case because it's a name or because it's the start of the sentence.

In short, the user must always write in lower case, except for names, which must always be written with an upper-case initial. Some examples: "Anna likes Bob Smith", "does Anna like Bob Smith?" "it's false that Anna likes Bob Smith".

I could add more flexibility, for instance add a list of known names that can then be written in lower case. Then when the bot encounters an unknown word starting in upper case, it could ask whether it's a new name, instead of just assuming it is. Then, internally, the whole text (or the whole text except for names) would be turned into lower case before processing.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions