get_stopwords: Retrieve stopwords

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

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

Usage

1

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

1
get_stopwords("en")[1:10]

eworx-org/labourR documentation built on Feb. 10, 2022, 12:35 a.m.