Dictionary-Based Methods

Chris Bail, Duke University
SICSS, Day 3

Types of Dictionary-Based Methods

 

1) Corpus-Specific

2) General (e.g. LIWC)

3) Sentiment Analysis

Creating your own dictionary

 

my_negative_words<-c("failing","bad","badly",
"sad","angry","pathetic")

library(stringr)
Negative_Tweets<-Twitter_Dataset
[str_detect(Twitter_Dataset$tweets, my_negative_words),]

Linguistic Inquiry Word Count (LIWC)