get_stopwords: Get a character vector of stopwords

Description Usage Arguments Value Examples

View source: R/preprocessing.r

Description

Get a character vector of stopwords

Usage

1

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

1
2
3
4
5
6
7
en_stop = get_stopwords('english')
nl_stop = get_stopwords('dutch')
ge_stop = get_stopwords('german')

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

kasperwelbers/corpustools documentation built on Sept. 1, 2018, 1:03 p.m.