An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121123/6a6b93e0/attachment.pl>
Sentiment analysis in R
2 messages · sushobhan.... just says"I QUIT", Milan Bouchet-Valat
Le vendredi 23 novembre 2012 ? 10:47 +0530, sushobhan.... just says"I QUIT" a ?crit :
Hi All,
I am trying to perform sentiment analysis using R with the
help of the library(sentiment). I am using the function
classify_emotions(sentiment). It is basically selecting a particular word
from a sentence and with the help of the pr-defined score of that
particular word, it is giving the sentiment score of the whole sentence.
For example,in the sentence "I am happy", it is selecting the word "happy"
and is setting the sentiment scores accordingly. But if I write "I am not
happy", I will also do the same thing and give the same scores. In this
case it is supposed to take both the words "not" and "happy", but it is
taking only the word "happy". How can I take care of this problem. I want
the exact sentiment of the sentence
Thanks,
I think you should contact directly the maintainer of the package *if* the function does not work as the documentation says it is supposed to. Regards