prep_text: Clean corpus text for NLP

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

Clean corpus text for NLP

Usage

1
prep_text(corp)

Arguments

corp

A corpus from tm

Value

A corpus with puctuation, numbers, stopwords, and whitespace removed

See Also

if any see alsos

Examples

1
2
3
4
## Not run: 
prep_text(a_corpus)

## End(Not run)

jacob-ogre/USNVC documentation built on May 18, 2019, 8 a.m.