replacePunctuation: replacePunctuation

Description Usage Arguments Value

Description

Replaces punctuation with a space. Should be used with the tm::tm_map command. Can lead to better results than removePunctuation

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 April 18, 2018, 8:26 p.m.