stanford-core-nlp
stanford-core-nlp copied to clipboard
joda-time.jar not found
I followed the installation instructions, but when I ran pipeline = StanfordCoreNLP.load(:tokenize, :ssplit, :pos, :lemma, :parse, :ner, :dcoref)
this happened:
RuntimeError: Could not find JAR file (looking in /Users/amooren/.rvm/gems/ruby-2.4.0/gems/stanford-core-nlp-0.5.3/bin/joda-time.jar).
from /Users/amooren/.rvm/gems/ruby-2.4.0/gems/bind-it-0.2.7/lib/bind-it/jar_loader.rb:20:in `load'
I manually downloaded and added the joda-time.jar
into the directory and it then presented another missing jar. Perhaps the installation instructions need to be updated? Or perhaps the bindings need to reflect that the downloadable archive no longer provides all the expected jars?
Could you please provide a patch for the README? :)
Hi, @mooreniemi . I ran into this same issue, and it looked like the cause was not that the files were missing, but that the gem was not taking the right path. In my case, due to using rbenv
.
Have you tried defining your own path to the jars and models?
Same problem
@Amval Could you point us to how we can download the Jars & Model files.
This problem was addressed in https://github.com/louismullie/stanford-core-nlp/issues/52