could not find Wordnet dictionary error

一个人想着一个人 提交于 2019-12-06 08:56:28

The R wordnet package is designed for Wordnet 3.0, and you seem to be using 2.1, so I imagine that would be the problem.

As a second guess, try installing Wordnet in a path with no spaces in it. E.g. c:\\data\\wordnet

By the way, instead of using Sys.setenv() to set an environment variable, it appears you could instead do setDict("C:\\Program Files (x86)\\WordNet\\3.0") before the call to initDict(), or even simply give that path as the optional parameter to initDict().

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!