-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error of Jpypebackend when trying example #21
Comments
Thanks for the report. Seems like there might be two things going on: First is that it's not able to import Second, for |
Hi David, The problem was that I did not install Jpype. After installing it, However, when I change the code to sd = The jar_file I've called in the code Do you have any hint about that? Thanks! On 03/27/2016 08:31 PM, David McClosky wrote:
|
Do you know if you have multiple versions of Java installed? It's possible that I'm not sure about why it's working with the Stanford CoreNLP 3.5.2 jar and the Stanford Parser 3.5.2 jar. In theory, these jars should be similar and have roughly the same APIs for our purposes. I tried |
Hi David,
I'm trying the example to produce dependencies from a parsed sentence using Stanford Parser. When I use your code:
sd = StanfordDependencies.get_instance(jar_filename="/home/stanford-parser/stanford-parser.jar")
it pops up the error:
UserWarning: Error importing JPypeBackend, falling back to SubprocessBackend.
raise ValueError("Bad exit code from Stanford CoreNLP")
ValueError: Bad exit code from Stanford CoreNLP
Any information would be highly appreciated!
Thanks!
Yiru
The text was updated successfully, but these errors were encountered: