Skip to contents

Removes stopwords from a dataset, e.g. n-grams

Usage

kwr_remove_stopwords(df, stopwords = kwr_stopwords())

Arguments

df

A data frame with words or n-grams in the 1st column.

stopwords

A vector of words (or n-grams) to be removed. It can be the output of the kwr_stopwords function.

Value

The same data set as df with the rows matching stopwords removed.