Description Usage Arguments Value Examples
View source: R/coRPysprofiling.R
Tokenize words, and remove stopwords from corpus
1 | clean_tokens(corpus, ignore = stopwords::stopwords("en"))
|
corpus |
character vector representing a corpus |
ignore |
stopwords to ignore, optional (default: common English words and punctuations) |
character vector of word tokens
1 2 | coRPysprofiling::clean_tokens("How many species of animals are there in Russia?")
coRPysprofiling::clean_tokens("How many species of animals are there in Russia?", ignore='!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.