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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to