dict_score: Use dictionary

Description Usage Arguments Value

View source: R/sent.R

Description

Calculates counts based on word dictionaries

Usage

1
2
3

Arguments

x

Input text vector

dict

A word dictionary

Value

A data frame with the number of postively and negatively coded words, the overall score (sum of positive and negative), and the total word count.


mkearney/dict documentation built on Nov. 4, 2019, 6:59 p.m.