-
Notifications
You must be signed in to change notification settings - Fork 2
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
analysis with "so" before qualifier in a sentence with negation gives wrong results #1
Comments
Hi Nek, this is not an issue in this project code. I've tested[1] it and it's an issue with the original Python implementation from Hutto and the NLTK team. I recommend that you point it out to them so we can all benefit from the improvement. Anyway, thanks a lot for the report! I'll mark it as an improvement to be scheduled. Cheers! [1] Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from nltk.sentiment.vader import SentimentIntensityAnalyzer
>>> sid = SentimentIntensityAnalyzer()
>>> ss = sid.polarity_scores("I don't feel so good")
>>> for k in sorted(ss):
... print('{0}: {1}\t'.format(k, ss[k]), end='')
...
compound: 0.5777 neg: 0.0 neu: 0.445 pos: 0.555 >>>
>>> |
Hi, If you use a statement like I made a few changes here but they will break tests and also some I basically added a rule which checks in a if the trigram has |
Hi Animesh, thanks for taking the time to try a fix/enhancement to this issue. I took a look at your changes. I believe it will be better to recode it without breaking the tests... ;-) otherwise, we will have to guarantee (by extensive testing) that the implementation is indeed better than the original by Hutto! Cheers and tell me what do you think... |
Thanks for picking this project up. It's a good fit for an app prototype I'm building.
Right now I'm playing with the library from Clojure REPL.
Works fine except there are some problems with "so".
The text was updated successfully, but these errors were encountered: