
Last chance! 50% off unlimited learning
Sale ends in
Corpus(object, readerControl = list(reader = object@DefaultReader, language = "eng"), ...)
Source
object.reader
representing a reading function capable of handling the file format
found in object
, and language
giving the text's language
(preferably in ISO 6reader
.VCorpus
which extends the class
list
containing a corpus.reut21578 <- system.file("texts", "reut21578", package = "tm")
Corpus(DirSource(reut21578), readerControl = list(reader = readReut21578XML))
Run the code above in your browser using DataLab