[R] Sentiment analysis in R
Milan Bouchet-Valat
nalimilan at club.fr
Fri Nov 23 09:42:00 CET 2012
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
More information about the R-help
mailing list