Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby 2.2? #42

Open
kmwarren opened this issue Nov 30, 2015 · 2 comments
Open

Ruby 2.2? #42

kmwarren opened this issue Nov 30, 2015 · 2 comments

Comments

@kmwarren
Copy link

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)

@arbox
Copy link
Collaborator

arbox commented Oct 24, 2016

Please be patient, we are working on this issue!

@arbox
Copy link
Collaborator

arbox commented Dec 24, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants