stopwords (version 0.9.0)

stopwords: Collection of stopwords in multiple languages

Description

This function returns stopwords collated for Stopwords ISO library (https://github.com/stopwords-iso/stopwords-iso).

Usage

stopwords(language = "en", source = "snowball")

Arguments

language

specify language of stopwords by ISO 639-1 code

source

specify a stopwords source. To list the currently available options, use stopwords_getsources.

Value

a character vector containing the stopwords

Details

The language codes for each stopword list use the two-letter ISO code from https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes. For backwards compatibility, the full English names of the stopwords from the quanteda package may also be used, although these are deprecated.

Examples

Run this code
# NOT RUN {
stopwords('en')
stopwords('de')
# }

Run the code above in your browser using DataLab