【发布时间】:2019-05-08 23:17:42
【问题描述】:
我能够弄清楚如何将自定义单词添加到 R 中的 hunspell 字典中。但是,我不确定为什么它没有用于拼写检查。这是我使用的:
library(hunspell)
#adding custom words into hunspell dictionary
hunspell::dictionary(lang = "en_US", affix = NULL, add_words = "bing", cache = TRUE)
但hunspell("bing") 仍然确定“bing”不正确。
有人有这方面的经验吗?谢谢。
【问题讨论】:
标签: r dictionary hunspell