
Last chance! 50% off unlimited learning
Sale ends in
Get a specific stop word lexicon via the stopwords packages's stopwords function, in a tidy format with one word per row.
get_stopwords(language = "en", source = "snowball")
The language of the stopword lexicon specified as a
two-letter ISO code, such as "es"
, "de"
, or "fr"
.
Default is "en"
for English. Use
stopwords_getlanguages from stopwords to see available
languages.
The source of the stopword lexicon specified. Default is
"snowball"
. Use stopwords_getsources from
stopwords to see available sources.
A tibble with two columns, word
and lexicon
. The
parameter lexicon
is "quanteda" in this case.
# NOT RUN {
library(dplyr)
get_stopwords()
get_stopwords(source = "smart")
get_stopwords("es", "snowball")
get_stopwords("ru", "snowball")
# }
Run the code above in your browser using DataLab