#check individual words
words <- c("beer", "wiskey", "wine")
correct <- hunspell_check(words)
print(correct)
# find suggestions for incorrect words
hunspell_suggest(words[!correct])
# find incorrect words in piece of text
bad <- hunspell_find("spell checkers are not neccessairy for langauge ninja's")
print(bad)
hunspell_suggest(bad)
Run the code above in your browser using DataLab