Description Usage Arguments Value
Returns common words for a matrix
1 2 3 | get_common_words_single(text, minDocFreq = 0, maxDocFreq = 1,
minWordLength = 0, maxWordLength = Inf, weighting = "count",
ngrams = 1, minCount = 1, verbose = FALSE)
|
text |
A vector of strings to be made into a matrix |
minDocFreq |
Minimum frequency of a word to be included (count or fraction) |
maxDocFreq |
Maxmimum frequency of a word to be included (count or fraction) |
minWordLength |
Minimum wordlength for a word to be included |
maxWordLength |
Maximum wordlength for a word to be included |
weighting |
Weighting to use. Choose between frequency, relFreq, relMaxFreq, logFreq, tfidf (See dfm_weight) |
ngrams |
Vector that specifies type of ngrams to generate |
A document feature matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.