views:

24

answers:

1

Hello,

I've read through the FAQ for Jython and this post http://stackoverflow.com/questions/471000/jython-and-python-modules but am not sure how I can determine if a module is written purely in C or Python.

The problem I'm facing is mentioned here http://old.nabble.com/using-NLTK-in-Jython-td28520926.html

Can anyone that has done this shed some light on this? I'm new to Jython.

Thanks,

+1  A: 

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.

ars
Thanks, this fixed the first issue (wow that was simple, feel like a newb). Now I have an error that I believe means that Jython isn't going to be compatible with NLTK.
gnucom