get_stopwords: Retrieve stopwords

View source: R/utilities.R

get_stopwordsR Documentation

Retrieve stopwords

Description

The functions retrieves stopwords from the stopwords package using the ISO-639-1 encoding. For miscellaneous languages data_stopwords_misc are used.

Usage

get_stopwords(code)

Arguments

code

A string with the language code of the stopwords.

Value

Character vector with the stopwords or NULL if the language code is unknown.

Examples

get_stopwords("en")[1:10]


AleKoure/labourR documentation built on March 24, 2022, 9:12 a.m.