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)
This is the corpus you want to the word frequency extracted from
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