Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [sentimentr]

The tag has no usage guidance.

-2 votes
1 answer
44 views

How to utilize Rauh's German Political Sentiment Dictionary

I need to utlize the named sentiment dictionary for my sentiment analysis in R studio. Unfortunately I have problems at that. The dictionary comes within a zip archive and specifically (as I assume) ...
user23820003's user avatar
1 vote
0 answers
75 views

Creating a progress bar for sentiment analysis in R

I am trying to do a sentiment analysis using the vader package in R. The vader package involves the vader_df() function to get sentiments for entire columns of data frames. I got a big data frame with ...
wieco23's user avatar
  • 11
0 votes
0 answers
196 views

sentiment analysis-training for 3 classes sentiment using 2 classes dataset

I'm going to build a model for twitter sentiment on Financial market using transformers. I have access to StockTwits data for training, which only contains positive and negative sentiments. However, I ...
Soom's user avatar
  • 1
0 votes
1 answer
43 views

Can't get update_polarity_table in Sentimentr to update polarity

I'm trying to do a sentiment analysis using hash_sentiment_socal_google in Sentimentr. Looking through the responses, I've noticed that one word responses of "unsure", or "unknown",...
Jasmine B's user avatar
0 votes
1 answer
41 views

Does sentimentr package account for number of words in sentence and number of sentence in paragraph?

Can anyone help explain whether sentimentr package accounts for word number? I am trying to work out how the number of words affects the sentiment score. Does it take into account if people have more ...
Gabriella's user avatar
  • 451
1 vote
1 answer
290 views

Question about how the sentimentr lexicon dictionary was built

I have used the Sentimentr package to do some sentiment analysis because it includes valence shifters. However I cannot find how this lexicon lexicon::hash_sentiment_jockers_rinker was built, how ...
Gabriella's user avatar
  • 451
0 votes
1 answer
58 views

Changing color of points in R Sentimentr plot() function

I am trying to change the color of the red points in the plot() function used by the Sentimentr package. I think plot() returns a ggplot2 object, but when I try to add parameters to the plot() ...
Byron Pop's user avatar
0 votes
1 answer
59 views

sentimentr - different results for different text partitioning

Using sentimentr to analyse the text: I haven’t been sad in a long time. I am extremely happy today. It’s a good day. I first used a sentence by sentence partitioning of the text library(sentimentr) ...
dorit's user avatar
  • 41
0 votes
1 answer
898 views

Calculate sentiment of each row in a big dataset using R

I having trouble calculating average sentiment of each row in a relatively big dataset (N=36140). My dataset containts review data from an app on Google Play Store (each row represents one review) and ...
tantal148's user avatar
0 votes
1 answer
484 views

Removing paragraphs in txt file with R

Using the readLines() function, I have imported a txt file, which stored sentences within multiple paragraphs like this: sentence1. sentence2. sentence3. sentence4. sentence5. sentence6. sentence7. ...
user avatar
0 votes
0 answers
53 views

Why has sentiment analysis been turned off in our LUIS apps?

Support help needed: A few weeks ago we discovered the shape of the sentiment json object had changed without notice, breaking our code. Now it's breaking again because the entire sentiment object is ...
hengist's user avatar
  • 105
3 votes
1 answer
455 views

Apply Sentimentr on Dataframe with Multiple Sentences in 1 String Per Row

I have a dataset where I am trying to get the sentiment by article. I have about 1000 articles. Each article is a string. This string has multiple sentences within it. I ideally would like to add ...
nak5120's user avatar
  • 4,175
0 votes
1 answer
327 views

Sentiment_by function

i am collecting the sentiment data of some twitter information. Moreover I have been using the function sentiment_by in order to group the information by a column. sent<-sentiment_by(...
AdrianGI's user avatar
1 vote
1 answer
108 views

Is it possible to add terms to the dictionaries of `lexicon` package?

The package sentimentr provides tools to calculate text polarity sentiment at the sentence level and optionally aggregate by rows or grouping variable. One of its functions, sentiment, approximates ...
Mark's user avatar
  • 1,703
0 votes
2 answers
937 views

r sentiment analysis applied to a whole column

I have a dataframe of tweets. A given tweet has multiple sentences. When I use sentimentr's sentiment function, it returns a score for each function like so: sentiment(as.character(tweets$text[1]))$...
j9000's user avatar
  • 416

15 30 50 per page