Skip to content

Case-insensitive checking flag #22

@fritttr

Description

@fritttr

I'd like to be able to set a flag to ignore case in spell-checking. For example, with the flag set, all three of the below expressions would evaluate to TRUE.

This would be helpful when using some NLP tools, like tokenizers, which often force text to lower case. Frequently, after tokenizing, I want to exclude words that are not in the dictionary. My current workaround is to force everything to uppercase.

hunspell_check("I'll")
[1] TRUE
hunspell_check("i'll")
[1] FALSE
hunspell_check("I'LL")
[1] TRUE

Metadata

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