Learn R Programming

tm (version 0.3-3)

removeSignature-methods: Methods for Function removeSignature in Package `tm'

Description

Methods for function removeSignature in package tm.

Arguments

See Also

Use getTransformations to list available transformation (mapping) functions.

Examples

Run this code
newsgroup <- system.file("texts", "newsgroup", package = "tm")
news <- Corpus(DirSource(newsgroup), readerControl = list(reader = readNewsgroup, language = "en_US", load = TRUE))
asPlain(news[[4]])
removeSignature(asPlain(news[[4]]))
asPlain(news[[5]])
removeSignature(asPlain(news[[5]]), marks = "^[+]-*[+]$")

Run the code above in your browser using DataLab