smartschat / cort

A toolkit for coreference resolution and error analysis.
MIT License
129 stars 34 forks source link

Read java path from environment variable if set #7

Closed bheinzerling closed 8 years ago

bheinzerling commented 8 years ago

StanfordDependencies.get_instance() tries to run Java with the command "java" by default. This leads to problems if the system-wide Java version is too old to run the latest CoreNLP version. This can be fixed by using the JAVA_HOME environment variable if it is set.

See: https://github.com/dmcc/PyStanfordDependencies/issues/17