Filter rarely appearing keywords from documents.

filter_rare(s, min_freq = 1)

# S3 method for character
filter_rare(s, min_freq = 1)

# S3 method for list
filter_rare(s, min_freq = 1)

Arguments

s

A Character string or a list.

min_freq

Minimum term frequency to keep terms in.