generate_stopwords {miRetrieve} | R Documentation |
Generate data frame containing stop words
Description
Generate a data frame containing stop words.
Usage
generate_stopwords(stopwords, combine_with = NULL)
Arguments
stopwords |
Character vector. Vector containing stop words. |
combine_with |
Data frame containing stop words. Optional.
Data frame provided here must have only two columns, namely
|
Details
Generate data frame containing stop words from a character vector. This data
frame consists of two columns, namely word
, containing the stop words, and
lexicon
, containing the string "self-defined".
Additionally, the created data frame can be combined with other stop words
containing data frames, e.g. tidytext::stop_words
or
stopwords_miretrieve
.
Value
Data frame containing stop words.
References
Silge, Julia, and David Robinson. 2016. “tidytext: Text Mining and Analysis Using Tidy Data Principles in R.” JOSS 1 (3). The Open Journal. https://doi.org/10.21105/joss.00037.
See Also
combine_stopwords()
, stopwords_miretrieve, tidytext::stop_words
Other stopword functions:
combine_stopwords()