removeNumbers {tm}R Documentation

Remove Numbers from a Text Document

Description

Remove numbers from a text document.

Usage

## S3 method for class 'PlainTextDocument'
removeNumbers(x, ...)

Arguments

x

A text document.

...

Not used.

Value

The text document without numbers.

See Also

getTransformations to list available transformation (mapping) functions.

Examples

data("crude")
crude[[1]]
removeNumbers(crude[[1]])

[Package tm version 0.6-2 Index]