Тёмный

How to: Quick Reddit Sentiment Analysis using R, RedditExtractor and SentimentAnalysis 

James Cook
Подписаться 9 тыс.
Просмотров 4,4 тыс.
50% 1

Опубликовано:

 

23 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@jefyang5662
@jefyang5662 4 года назад
Very good tutorial video. Have you recorded the part 2?
@JamesCookUMA
@JamesCookUMA 3 года назад
I'm recording it today!
@kenli7018
@kenli7018 3 года назад
Great video, thank you very much! Do you know Why I do not have the function get_reddit?
@JamesCookUMA
@JamesCookUMA 3 года назад
Ken, thanks for posting this comment. The RedditExtractoR package has been rewritten within the last month and changed its commands! It looks like we'll need to go back to the drawing board and post some new content to describe how to use the package.
@jerome8660
@jerome8660 4 года назад
Great Video! But what about more complex methods then only assign a word into positive or negative? Then we are in Machine Learning, isn't it? And how accurate is this method? I guess it has a lot to do with the right dictionary at the right place (some teenagers will use other words then some guys in an philosophy subreddit or whatever).
@JamesCookUMA
@JamesCookUMA 3 года назад
Absolutely. Use different dictionaries (or build your own dictionary) to assess different research questions!
@samirghazaleh6227
@samirghazaleh6227 3 года назад
Hello James, I am running into some trouble and was wondering if you would be able to help. When I get to the sentiment code, I run into an error: Error in FUN(content(x), ...) : invalid multibyte string 1. Any idea on how to correct this?
@JamesCookUMA
@JamesCookUMA 3 года назад
Hi, Samir. Unfortunately, in order to really figure out what's going on, I'd need to see your entire code. If you'd like to send me that code, please shoot me an email message to james.m.cook@maine.edu .
@pierrebenkiran212
@pierrebenkiran212 3 года назад
Hi ! did you get an answer by any chance? I do have the same problem :)
@JamesCookUMA
@JamesCookUMA 3 года назад
@@pierrebenkiran212 hi, Pierre! I did not get a response from the previous commenter that contained code, but since you’re a second person who brought it up I looked into it. It turns out you get that error when the text string you are trying to analyze is not encoded in the right way. Try encoding the string as UTF8 by using the enc2utf8(your string) command! $newstring
@loganingram6716
@loganingram6716 3 года назад
is there a way to pool sentiment before and after a certain time period?
@JamesCookUMA
@JamesCookUMA 3 года назад
Unfortunately, there isn't much of an archive available with the API; at best, the backward collection goes about a month. This means if you'd like to gather data from this means, you ought to gather it as you go.
@loganingram6716
@loganingram6716 3 года назад
@@JamesCookUMA Hmmm insteresting. Well is there an alternative method available? I'm working on a final project and I need to compare sentiment over a time-frame to determine when the subreddit had the most positive comments...
@JamesCookUMA
@JamesCookUMA 3 года назад
@@loganingram6716 Why yes there is! Rather than relying on the API, you could manually visit a subreddit and collect old discussion text through the ol’ cut and paste. Not everything has to be automated to work, right? And then there are web scrapers. They’d work, too.
@loganingram6716
@loganingram6716 3 года назад
@@JamesCookUMA Mr. Cook, excellent suggestions, sir! Love your content and the fact that you take the time to help out in your comments says a lot about you! I subscribed! Hope to see more great videos from you soon!
@sabrinayang7306
@sabrinayang7306 4 года назад
Hi James, thanks for the video! I have a question about get_reddit function. When I tried to pull out the text from Reddit, it didn't work and kept showing "Cannot connect to the website, skipping..." on my Rstudio. Do you have any idea how to solve this? Thank you again for the help!
Далее
Academic Integrity at UMA: 8 Reasons Why
1:01
Тупой и ещё тупее. (и поддоны)
00:37
Sentiment analysis with tidytext (R case study, 2021)
42:33
Text analysis in R. Demo 2: Sentiment dictionaries
16:05
A Tutorial on Sentiment Analysis in R
13:08
Просмотров 3,9 тыс.
Think Fast, Talk Smart: Communication Techniques
58:20