scrub_doc: quick func to take a messy doc, clean it up, and return it as...

Description Usage Arguments Value Examples

Description

quick func to take a messy doc, clean it up, and return it as a string (tokenizes as an intermediate step, but meant for just quick cleaning)

Usage

1
scrub_doc(doc, lower, toss_punct, toss_num)

Arguments

doc
lower
toss_punct
toss_num

Value

the doc as a string, cleaned up

Examples

1
scrub_doc(doc="H3LL0 me NamE is. t1m timmy", lower=TRUE, toss_punct=TRUE, toss_num=TRUE)

lefft/lefftpack documentation built on May 8, 2019, 1:13 p.m.