count_ngram | R Documentation |
Summarise the counts of a specified ngram in character vector
count_ngram(text, count_col = "count", n = 2)
text |
Character string vector to pass through |
count_col |
A string vector for the name of the count column. Defaults to "count" |
n |
Specify n of ngram |
A tidy data frame with the count results
count_ngram(c("The quick brown fox jumped over the lazy dog"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.