Тёмный

Introduction to Text Analysis in R 

David Caughlin
Подписаться 10 тыс.
Просмотров 11 тыс.
50% 1

This R tutorial provides a basic introduction to one of the easier forms of text analysis to learn -- lexicon-based sentiment analysis. This tutorial is inspired by Silge and Robinson's "Text Mining in R: A Tidy Approach," which you can find here: www.tidytextmining.com/.
March 28, 2022: Due to changes in tidytext package, the following steps need to be augmented/altered:
+ First, when installing the tidytext package, be sure to also install the stopwords package; doing so will allow you to use the get_stopwords function from tidytext.
install.packages("stopwords")
+ To access the AFINN dictionary, you will need to install the textdata package.
install.packages("textdata")
+ The get_sentiments function from tidytext now labels the sentiment score column/variable as value, whereas previously it defaulted to score. Thus, all references made to a score variable in the video tutorial should now be replaced with value.
For a conceptual overview of text analysis, please see the following video: • Text Analysis .
Other videos from my "R Tutorials" playlist can be found here: ru-vid.com?list...
The data file(s) referenced in this R tutorial (and other R tutorials on this playlist) can be downloaded as a compressed (zipped) folder by visiting the following link: github.com/davidcaughlin/R-Tu.... Click "Clone or Download" followed by "Download ZIP".

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

 

12 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Text Analysis Basics
28:08
Просмотров 19 тыс.
Describe and Summarise your data
19:44
Просмотров 51 тыс.
Sentiment analysis with tidytext (R case study, 2021)
42:33
R for Text Analysis - Understanding R and RStudio
1:03:38
Simple Sentiment Text Analysis in Python
16:11
Просмотров 74 тыс.
Text analysis in R. Demo 1: Corpus statistics
23:12
Просмотров 19 тыс.
Learn R in 39 minutes
38:56
Просмотров 604 тыс.