lexicon_bing | R Documentation |
General purpose English sentiment lexicon that categorizes words in a binary fashion, either positive or negative
lexicon_bing(
dir = NULL,
delete = FALSE,
return_path = FALSE,
clean = FALSE,
manual_download = FALSE
)
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 |
Citation info:
This dataset was first published in Minqing Hu and Bing Liu, “Mining and summarizing customer reviews.”, Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery & Data Mining (KDD-2004), 2004.
inproceedings{Hu04,
author = {Hu, Minqing and Liu, Bing},
title = {Mining and Summarizing Customer Reviews},
booktitle = {Proceedings of the Tenth ACM SIGKDD International Conference
on Knowledge Discovery and Data Mining},
series = {KDD '04},
year = {2004},
isbn = {1-58113-888-1},
location = {Seattle, WA, USA},
pages = {168–177},
numpages = {10},
url = {http://doi.acm.org/10.1145/1014052.1014073},
doi = {10.1145/1014052.1014073},
acmid = {1014073},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {reviews, sentiment classification, summarization, text mining},
}
A tibble with 6,787 rows and 2 variables:
An English word
Indicator for sentiment: "negative" or "positive"
https://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html
Other lexicon:
lexicon_afinn()
,
lexicon_loughran()
,
lexicon_nrc()
,
lexicon_nrc_eil()
,
lexicon_nrc_vad()
## Not run:
lexicon_bing()
# Custom directory
lexicon_bing(dir = "data/")
# Deleting dataset
lexicon_bing(delete = TRUE)
# Returning filepath of data
lexicon_bing(return_path = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.