ropensci/hunspell

use regex with ignore param?

sckott opened this issue · 1 comments

does it makes sense to allow regex matching for ignore param

e..g, ignore any words that start with w in c("wiskey", "whine", "water")

i don’t know if its possible with hunspell

I don't think this is possible with hunspell. The hunspell library has it's own pattern matching syntax for words which allows to define a word with all it's variations / conjugations / inflections. Regexes don't really make sense because they are rarely sufficient to define natural language.