Getting Python's nltk.wordnet module working for Jython

前端 未结 2 1452
粉色の甜心
粉色の甜心 2021-01-14 11:56

I\'ve read through the FAQ for Jython and this post Jython and python modules but am not sure how I can determine if a module is written purely in C or Python.

The p

2条回答
  •  忘掉有多难
    2021-01-14 12:56

    Did you add C:\Python26\Lib\site-packages\nltk to sys.path as stated in your question? It should really be C:\Python26\Lib\site-packages, which is the directory containing nltk. If you don't want to add the entire site-packages, try moving the nltk folder to another folder.

提交回复
热议问题