lexicon_nrc_eil {textdata} | R Documentation |
NRC Emotion Intensity Lexicon (aka Affect Intensity Lexicon) v0.5
Description
General purpose English sentiment/emotion lexicon. The NRC Affect Intensity Lexicon is a list of English words and their associations with four basic emotions (anger, fear, sadness, joy).
Usage
lexicon_nrc_eil(
dir = NULL,
delete = FALSE,
return_path = FALSE,
clean = FALSE,
manual_download = FALSE
)
Arguments
dir |
Character, path to directory where data will be stored. If
|
delete |
Logical, set |
return_path |
Logical, set |
clean |
Logical, set |
manual_download |
Logical, set |
Details
For a given word and emotion X, the scores range from 0 to 1. A score of 1 means that the word conveys the highest amount of emotion X. A score of 0 means that the word conveys the lowest amount of emotion X.
License required for commercial use. Please contact Saif M. Mohammad (saif.mohammad@nrc-cnrc.gc.ca).
Citation info:
Details of the lexicon are in this paper. Word Affect Intensities. Saif M. Mohammad. In Proceedings of the 11th Edition of the Language Resources and Evaluation Conference (LREC-2018), May 2018, Miyazaki, Japan.
inproceedings{LREC18-AIL,
author = {Mohammad, Saif M.},
title = {Word Affect Intensities},
booktitle = {Proceedings of the 11th Edition of the Language Resources and Evaluation Conference (LREC-2018)},
year = {2018},
address={Miyazaki, Japan}
}
Value
A tibble with 5.814 rows and 3 variables:
- term
An English word
- score
Value between 0 and 1
- AffectDimension
Indicator for sentiment or emotion: ("anger", "fear", "sadness", "joy")
Source
https://saifmohammad.com/WebPages/AffectIntensity.htm
See Also
Other lexicon:
lexicon_afinn()
,
lexicon_bing()
,
lexicon_loughran()
,
lexicon_nrc()
,
lexicon_nrc_vad()
Examples
## Not run:
lexicon_nrc_eil()
# Custom directory
lexicon_nrc_eil(dir = "data/")
# Deleting dataset
lexicon_nrc_eil(delete = TRUE)
# Returning filepath of data
lexicon_nrc_eil(return_path = TRUE)
## End(Not run)