Skip to contents

Word frequencies

Usage

word_freqs(
  texts,
  bigrams = FALSE,
  top = 30,
  remove_stopwords = TRUE,
  language = "en"
)

Arguments

texts

character. Vector of texts (like profile descriptions)

bigrams

boolean. Should we count bigrams? Default to FALSE

top

integer. The top words/bi-grams to include. Defaults to 30

remove_stopwords

boolean. Should stopwords be excluded? Defaults to TRUE

language

character. The language to use when removing stopwords. Defaults to "en"

Value

dataframe with word (or bi-gram) frequencies