VCorpus | R Documentation |
Create volatile corpora.
VCorpus(x, readerControl = list(reader = reader(x), language = "en"))
as.VCorpus(x)
x |
For |
readerControl |
a named list of control parameters for reading in content
from
|
A volatile corpus is fully kept in memory and thus all changes only affect the corresponding R object.
An object inheriting from VCorpus
and Corpus
.
Corpus
for basic information on the corpus infrastructure
employed by package tm.
PCorpus
provides an implementation with permanent storage
semantics.
reut21578 <- system.file("texts", "crude", package = "tm")
VCorpus(DirSource(reut21578, mode = "binary"),
list(reader = readReut21578XMLasPlain))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.