removeNumbers {tm}R Documentation

Remove Numbers from a Text Document

Description

Stip any numbers from a text document.

Usage

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

Arguments

x

A text document.

Value

The text document with any numbers in it removed.

See Also

getTransformations to list available transformation (mapping) functions.

Examples

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

[Package tm version 0.5-10 Index]