ropensci / spelling

Tools for Spell Checking in R
https://docs.ropensci.org/spelling
Other
107 stars 25 forks source link

can't ignore words with numbers? #85

Open d-morrison opened 4 weeks ago

d-morrison commented 4 weeks ago

Currently (using commit https://github.com/ropensci/spelling/commit/81cb940792f58442c803ecd7115392e1a2a8e509 or CRAN v2.3.0), 95th gets flagged as the mis-spelled word th:

image

Adding 95th to WORDLIST doesn't succeed in ignoring this string, but it doesn't seem optimal to add th to the wordlist, since it might be a mis-spelling of the. Do you have a recommendation to handle this type of situation?

Thanks!

jmbarbone commented 3 weeks ago

@d-morrison , I think this is #45

There's a pending PR (#67) which you can test out.