Learn R Programming

sentometrics (version 1.0.1)

list_valence_shifters: Built-in valence word lists

Description

A list containing all built-in valence word lists, as data.tables with three columns: a x column with the words, a y column with the values associated to each word, and a t column with the type of valence shifter (1 = negators, 2 = amplifiers, 3 = deamplifiers, 4 = adversative conjunctions). The list element names indicate the language (based on the two-letter ISO code convention as in stopwords) of the valence word list. All non-English word lists are translated via Microsoft Translator through Microsoft Word. Only the entries whose translation differs from the original entry are kept. All words are unigrams and in lowercase. The built-in valence word lists are available in following languages:

  • English ("en")

  • French ("fr")

  • Dutch ("nl")

Usage

data("list_valence_shifters")

Arguments

Format

A list with all built-in valence word lists, appropriately named.

Examples

Run this code
data("list_valence_shifters", package = "sentometrics")
list_valence_shifters["en"]

Run the code above in your browser using DataLab