forked from apanimesh061/VaderSentimentJava
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
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".
moodwiz.core=> (calculate-sentiment "good")
{"negative" 0.0, "neutral" 0.0, "positive" 1.0, "compound" 0.4404}
moodwiz.core=> (calculate-sentiment "so good")
{"negative" 0.0, "neutral" 0.238, "positive" 0.762, "compound" 0.4927}
moodwiz.core=> (calculate-sentiment "I feel good")
{"negative" 0.0, "neutral" 0.256, "positive" 0.744, "compound" 0.4404}
moodwiz.core=> (calculate-sentiment "I feel so good")
{"negative" 0.0, "neutral" 0.385, "positive" 0.615, "compound" 0.4927}
moodwiz.core=> (calculate-sentiment "I don't feel good")
{"negative" 0.546, "neutral" 0.454, "positive" 0.0, "compound" -0.3412}
moodwiz.core=> (calculate-sentiment "I don't feel so good")
{"negative" 0.0, "neutral" 0.445, "positive" 0.555, "compound" 0.5777}