replaceSingleWords: replaceSingleWords

Description Usage Arguments Value

Description

Replaces single words with a space. Should be used with the tm::tm_map command. Advisable to cleanup text after other tm_map functions have been used

Usage

1

Arguments

corpus

Corpus from the tm package. Created by using tm::Corpus(VectorSource([text data]))

Value

Cleaned text


bvidgen/RPackage documentation built on May 13, 2019, 9:04 a.m.