I'm having trouble getting stanford-core-nlp gem working with Ruby 2.2. Using code below from your s-c-nlp gem page (https://github.com/louismullie/stanford-core-nlp). I'm getting errors "private method load' [alsorequire']" and "uninitialized constant StanfordCoreNLP::Annotation (NameError)". Any input appreciated.
I'm having trouble getting stanford-core-nlp gem working with Ruby 2.2. Using code below from your s-c-nlp gem page (https://github.com/louismullie/stanford-core-nlp). I'm getting errors "private method
load' [also
require']" and "uninitialized constant StanfordCoreNLP::Annotation (NameError)". Any input appreciated.StanfordCoreNLP.jar_path = '[newpath]'
pipeline = StanfordCoreNLP.load(:tokenize, :ssplit, :pos, :lemma, :parse, :ner, :dcoref) text = StanfordCoreNLP::Annotation.new(text) pipeline.annotate(text)