Closed oloverm closed 6 years ago
If I ignore a word with the ignore argument, it remains ignored in future checks:
ignore
> hunspell("ggggggg") [[1]] [1] "ggggggg" > hunspell("ggggggg", ignore = "ggggggg") [[1]] character(0) > hunspell("ggggggg") [[1]] character(0)
But if I ignore it with dict = dictionary(add_words = ), it doesn't stay ignored:
dict = dictionary(add_words = )
> hunspell("fffffff") [[1]] [1] "fffffff" > hunspell("fffffff", dict = dictionary(add_words = "fffffff")) [[1]] character(0) > hunspell("fffffff") [[1]] [1] "fffffff"
I don't know which of the two behaviours is preferable, but they should probably be consistent, and it would be good to be able to reset the words added with ignore.
Ah that's a caching bug. Thanks for reporting.
Fixed again in 2.9.
If I ignore a word with the
ignore
argument, it remains ignored in future checks:But if I ignore it with
dict = dictionary(add_words = )
, it doesn't stay ignored:I don't know which of the two behaviours is preferable, but they should probably be consistent, and it would be good to be able to reset the words added with
ignore
.