Description Usage Arguments Value Examples
View source: R/get_long_words.R
This function takes a Corpus or vector of documents and returns words with length greater than a threshold.
1 | get_long_words(x, length_threshold = 20)
|
x |
An object inheriting from Corpus, a list of character vectors, or a character vector. |
length_threshold |
An integer. Words of length strictly greater than this threshold will be returned. |
A character vector of words with length greater than length_threshold
.
1 2 | docs <- c("What are you doing down there, crashy?", "I'm real good at lying to Lois.")
long_words <- get_long_words(docs, length_threshold=4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.