R interface with Hunspell

Does anybody knows about an R interface with Hunspell?

I think it would be an interesting project since it would help a lot in user written data analysis.

Have you seen utils::aspell() in base R? It mentions Hunspell as one of the options it uses, first checking for aspell, then hunspell, then ispell.

there’s a R journal paper on the aspell() function https://journal.r-project.org/archive/2011-2/RJournal_2011-2_Hornik+Murdoch.pdf

1 Like

I like this suggestion. Will look into if we can wrap this into an R package.

2 Likes

I have a child-like urge to call dibbs on the pkgization of the 'hypen’
library :slight_smile:

2 Likes

The hunspell package is on cran now: https://cran.rstudio.com/web/packages/hunspell/index.html. Thanks for the suggestion @dfalbel!

2 Likes

Awesome!! I’m already using.
Is there anything I can help in this package?

Just test it. If you have problems or suggestions open an issue on github. This package is very young so there might be breaking changes soon :smiley: