Question about package "SentimentAnalysis"
Thank you!
On Sat, May 9, 2020 at 11:44 AM <cpolwart at 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 <mehdidadkhah91 at gmail.com> wrote: Thank you! On Fri, May 8, 2020 at 10:04 PM John Kane <jrkrideau at gmail.com> wrote:
I think your best bet is to ask the author/maintainer, Stefan
Feuerriegel
,about this. The reference manual
gives his email address as <sentiment at sfeuerriegel.com> On Fri, 8 May 2020 at 08:32, Mehdi Dadkhah <mehdidadkhah91 at gmail.com> wrote:
Hi, I hope you are doing well! I read a vignette (
)
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 at 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 at 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]]