word_frequency {fedmatch} | R Documentation |
Compute frequency of words in a corpus
Description
word_frequency
counts the frequency of words in a set of strings.
Also does minimal cleaning (removes punctuation and extra spaces). Useful for
determining what words are common and may need to be replaced or removed with
clean_strings
.
Usage
word_frequency(string)
Arguments
string |
character vector |
Value
data.table with word frequency
[Package fedmatch version 2.0.6 Index]