ropensci/hunspell

remove duplicates?

sckott opened this issue · 1 comments

would it make sense to remove duplicates before processing? perhaps not

e.g.,

words <- c("beer", "wiskey", "wine")
hunspell_check(c(words, words))
[1]  TRUE FALSE  TRUE  TRUE FALSE  TRUE

I think it's better to let the user wrap the response in unique if it wants to filter out duplicates. There are actually valid cases in which you do want to know each occurrence.