Thank you! On Sat, May 9, 2020 at 11:44 AM <cpolw...@chemo.org.uk> wrote:
> Or, to split the paragraph into sentences, analyse each sentence and > decide how to agregate the result... > > > > On 9 May 2020 04:33, Mehdi Dadkhah <mehdidadkha...@gmail.com> wrote: > > Thank you! > > On Fri, May 8, 2020 at 10:04 PM John Kane <jrkrid...@gmail.com> wrote: > > > 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 <sentim...@sfeuerriegel.com> > > > > On Fri, 8 May 2020 at 08:32, Mehdi Dadkhah <mehdidadkha...@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@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 > > > > > -- > *Mehdi Dadkhah* > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. > > > -- *Mehdi Dadkhah* [[alternative HTML version deleted]] ______________________________________________ R-help@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.