The function computes ngrams from a text
topicsGrams(data, n = 2, sep = " ", top_n = NULL, pmi_threshold = 0)
A list containing tibble of the ngrams with the frequency and probability and a tibble containing the relative frequency of the ngrams for each user
(tibble) The data
(integer) The length of ngram
(string) The separator
(integer) The number of top ngrams to be displayed
(integer) The pmi threshold, if it shall not be used set to 0