Skip to content

Error of Jpypebackend when trying example #21

@YiruS

Description

@YiruS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions