-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
SentimentCoreAnnotations returns null #39
Comments
Leave me alone and I will figure it out :) The problem was that I didn't load the sentiment annotator. Instead of: props.setProperty("annotators", "tokenize, ssplit, pos, lemma, ner, parse, dcoref"); Should be: props.setProperty("annotators", "tokenize, ssplit, parse, sentiment"); |
Cool, this demo may be also interesting to you https://github.com/evelinag/SentimentAnalysisDemo |
Thanks! It's really helpful |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! I have managed to run the examples on the website, but I am missing an example for sentiment analysis. I have found an example here: http://stackoverflow.com/questions/31832387/using-stanford-nlp-lib-in-c-sharp-while-trying-to-get-sentiment-positive-nega, but it doesn't work for me.
After adapting it to a C# class, I ended up with code that compiles:
The problem that I have is that this line returns
null
:The text was updated successfully, but these errors were encountered: