counter {texter} | R Documentation |
This function retrieves the number of times each word in a corpus occurs. It returns a dataframe containing the word and the corresponding counts
counter(word_vec, words)
word_vec |
This is the corpus you want to the word frequency extracted from |
words |
This is a vector of words you want to retrieve their frequency counts |
a data frame object. A data frame object of strings and their corresponding count