term_sentiment: Determine sentiment of terms

Description Usage Arguments Value

View source: R/term-sentiment.R

Description

Determine sentiment of terms

Usage

1
term_sentiment(.data, lexicon = "afinn", senti = NULL)

Arguments

.data

vector of terms

lexicon

sentiment lexicon to use, based on the corpus provided by tidytext

senti

sentiment to use for page view for nrc or loughran (joy, anger ...)

Value

vector with sentiment score of each word in the vector


jcai849/iNZightTA documentation built on Dec. 2, 2020, 6:59 a.m.