find_weasels: counts the number of 'weasel words' in a document.

Description Usage Arguments Value

View source: R/weasel_words.R

Description

counts the number of 'weasel words' in a document.

Usage

1
find_weasels(txt, weasels, outfile = FALSE)

Arguments

txt

text to evaluate.

weasels

list of words or phrases to look for.

Value

a list of weasel phrases found and their frequency.


potterzot/researchTools documentation built on Jan. 16, 2020, 9:02 p.m.