duplicates(string, threshold = 1)
Returns a vector of all duplicated words/chunks.
Find duplicated word/word chunks in a string. Intended for internal use.
## <strong>Not run</strong>: # duplicates(DATA$state) # duplicates(DATA$state[1]) # ## <strong>End(Not run)</strong>