get_stopwords: Get a character vector of stopwords

View source: R/preprocessing.r

get_stopwordsR Documentation

Get a character vector of stopwords

Description

Get a character vector of stopwords

Usage

get_stopwords(lang)

Arguments

lang

The language. Current options are: "danish", "dutch", "english", "finnish", "french", "german", "hungarian", "italian", "norwegian", "portuguese", "romanian", "russian", "spanish" and "swedish"

Value

A character vector containing stopwords

Examples

en_stop = get_stopwords('english')
nl_stop = get_stopwords('dutch')
ge_stop = get_stopwords('german')

head(en_stop)
head(nl_stop)
head(ge_stop)

corpustools documentation built on May 31, 2023, 8:45 p.m.