clean_text: Clean words

Description Usage Arguments Value

Description

Removes numeric characters, stop words and white space from words...

Mutates variable "speaker." to either "jorn" or "pm". Also removes the sentences that are "JOURNALIST:" and "PRIME MINISTER:".

Usage

1
2
3

Arguments

df

Takes df with

keep

Defaults to TRUE, if FALSE filters out "jorn"...

df

Takes df with sentence level text.

Value

Returns data frame

Returns data frame


trendlock/speeches documentation built on May 8, 2019, 9:46 a.m.