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

Added the sentiment tagging #25

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Added the sentiment tagging #25

wants to merge 3 commits into from

Conversation

duncanhodges
Copy link

This is now at a Tree level.

@anupamme
Copy link

anupamme commented Aug 5, 2015

Hello,

were you able to make sentiment part work? I tried your solution but when I run

proc = sockwrap.SockWrap("coref", corenlp_jars=["/path_to_3.5.0_jars/*"])

I get exception

Exception in thread "main" java.lang.NoClassDefFoundError: org/ejml/simple/SimpleBase
at edu.stanford.nlp.pipeline.SentimentAnnotator.(SentimentAnnotator.java:48)
at edu.stanford.nlp.pipeline.AnnotatorImplementations.sentiment(AnnotatorImplementations.java:187)
at edu.stanford.nlp.pipeline.AnnotatorFactories$13.create(AnnotatorFactories.java:492)

@duncanhodges
Copy link
Author

Looks like you're not including the jars from the Stanford NLP system properly you should have an ejml-x.x.jar in the folder with your jars from the stanford system - this will provide the SimpleBase class

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

Successfully merging this pull request may close these issues.

2 participants