powered by
Analyze text with ngram among 1, 2 or 3.
analyze_ngrams(in_text, ngram = 1, top_rows = 25)
A data.frame with two columns - word/bigram/trigram (character vector) and count (integer vector).
a character vector. Text to be analyzed as a character vector.
a numeric_vector of length 1. Ngram = 1, 2 or 3.
a numeric vector of length 1. Number of top rows to be returned.
Ravindra Pushker
analyze_ngrams
analyze_ngrams(in_text=c("The quick brown fox jumps over the lazy dog."))
Run the code above in your browser using DataLab