stanford-core-nlp icon indicating copy to clipboard operation
stanford-core-nlp copied to clipboard

Ruby 2.2?

Open kmwarren opened this issue 9 years ago • 2 comments

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.

StanfordCoreNLP.jar_path = '[newpath]'

pipeline = StanfordCoreNLP.load(:tokenize, :ssplit, :pos, :lemma, :parse, :ner, :dcoref) text = StanfordCoreNLP::Annotation.new(text) pipeline.annotate(text)

kmwarren avatar Nov 30 '15 17:11 kmwarren

Please be patient, we are working on this issue!

arbox avatar Oct 24 '16 09:10 arbox

@kmwarren Any changes with your issue and the newer code? Actually is should work on newer Rubies.

arbox avatar Dec 24 '16 21:12 arbox