stanford-core-nlp
stanford-core-nlp copied to clipboard
Ruby 2.2?
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)
Please be patient, we are working on this issue!
@kmwarren Any changes with your issue and the newer code? Actually is should work on newer Rubies.