A function to frequency threshold a vector of strings.
frequency_threshold(word_vector, threshold = 1)
A character vector of words we wish to frequency threshold.
An integer > 0 indicating the number of times a word must appear more than to be included in the vector we return. Defaults to threshold = 1, meaning all words that appear 1 or less times in the vector we pass in will be removed.
A word vector with all words appearing 'threshold' or less times removed.