[R] Question about package "SentimentAnalysis"

John Kane jrkr|de@u @end|ng |rom gm@||@com
Fri May 8 19:34:13 CEST 2020


I think your best bet is to ask the author/maintainer, Stefan Feuerriegel
,about this. The reference manual
https://cran.r-project.org/web/packages/SentimentAnalysis/SentimentAnalysis.pdf
gives his email address as <sentiment using sfeuerriegel.com>

On Fri, 8 May 2020 at 08:32, Mehdi Dadkhah <mehdidadkhah91 using gmail.com> wrote:

> Hi,
> I hope you are doing well!
> I read a vignette (
>
> https://cran.r-project.org/web/packages/SentimentAnalysis/vignettes/SentimentAnalysis.html
> )
> about interested package, "SentimentAnalysis". But i faced with a question.
> In mentioned  vignette, the sentiment has been applied on a sentence or
> multiple sentences separately. Can this package calculate sentiment
> direction/score for a long texts?
> for example:
>
> # Create a vector of strings
> documents <- "Wow, I really like the new light sabers!That book was
> excellent.R is a fantastic language.The service in this restaurant was
> miserable.This is neither positive or negative."
>
> # Analyze sentiment
> sentiment <- analyzeSentiment(documents)
>
> Many thanks!
> With best regards,
>
> --
> *Mehdi Dadkhah*
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>


-- 
John Kane
Kingston ON Canada

	[[alternative HTML version deleted]]



More information about the R-help mailing list