Use this function when trying to find frequency of two or more words
term_frequency_n_grams(df, gram.min = 2, gram.max = 2, mc.cores = 2, stemming = TRUE, more_stopwords = NULL)
df | a dataframe with paper results |
---|---|
gram.min | minimum amount of words together |
gram.max | maximum amount of words together |
mc.cores | number of cores |
stemming | apply stemming by default |
more_stopwords | a vector of additional stop words |