grouping.var: The grouping variables. Default NULL generates one word list for all text. Also takes a single grouping variable or a list of 1 or more grouping variables.
n: The max number of grams calculate
...: Further arguments passed to strip function.
Returns
Returns a list of: - raw: A list of pasted single vectors of the ngrams per row.
group: A list of pasted vectors of ngrams grouped by grouping.var.
unlist1: A list of a single vector of pasted ngrams per grouping.var in the order used.
unlist2: A list of a single vector of pasted ngrams per grouping.var in alphabetical order.
group_n: A list of a list of vectors of ngrams per grouping.var & n (not pasted).
all: A single vector of pasted ngrams sorted alphabetically.
all_n: A list of lists a single vectors of ngrams sorted alphabetically (not pasted).