asPlain-methods {tm} | R Documentation |
Methods for function asPlain
in package tm.
object
to a plain
text document.object
.object
to a
PlainTextDocument
by applying FUN
on the XML root node
and returns the new object.object
to a
PlainTextDocument
.object
to a
PlainTextDocument
.object
to a
plain text document.
convertReut21578XMLPlain
convertRCV1Plain
Use getTransformations
to list available transformation (mapping) functions.
reut21578 <- system.file("texts", "reut21578", package = "tm") reut21578TDC <- Corpus(DirSource(reut21578), readerControl = list(reader = readReut21578XML, language = "en_US", load = TRUE)) reut21578TDC[[1]] asPlain(reut21578TDC[[1]])