Lynten / stanford-corenlp

Python wrapper for Stanford CoreNLP.
MIT License
919 stars 200 forks source link

My directory doesn't exist #93

Open tkchristian opened 4 years ago

tkchristian commented 4 years ago

Hello

I'm trying to install and configure the StanfordNLP, and i'm trying to run some sample scripts that have been posted. However, I always get this error:

" line 15, in nlp = StanfordCoreNLP(local_corenlp_path, quiet=False, logging_level=logging.DEBUG) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/stanfordcorenlp/corenlp.py", line 51, in init raise IOError(str(self.path_or_host) + ' is not a directory.') OSError: G:\JavaLibraries\stanford-corenlp-full-2018-01-31 is not a directory."

Obviously, this means there's no directory, and I don't know why. I have installed 3.9.1 using pip AND pip3 (that's the version I need to use), and i have also downloaded the 64-bit JDK. I also have Python 3.8 and can change it to 2.7.

I have no idea what's going on, so I have no clue on where to even begin to fix this issue.

Thanks.

truthstriver commented 2 years ago

Hello there, I came into same problem, though, I solved that after downloading coresponding .jar file from readme.md page. Although now it's running without error, it started to 'wait' without any output.....It even didn't read the model file. Have you now figured out this? QAQ