Description Usage Arguments Details Value See Also Examples
Create permanent corpora.
1 2 3 |
x |
A |
readerControl |
a named list of control parameters for reading in content
from
|
dbControl |
a named list of control parameters for the underlying database storage provided by package filehash.
|
A permanent corpus stores documents outside of R in a database. Since
multiple PCorpus
R objects with the same underlying database can
exist simultaneously in memory, changes in one get propagated to all
corresponding objects (in contrast to the default R semantics).
An object inheriting from PCorpus
and Corpus
.
Corpus
for basic information on the corpus infrastructure
employed by package tm.
VCorpus
provides an implementation with volatile storage
semantics.
1 2 3 4 5 | txt <- system.file("texts", "txt", package = "tm")
## Not run:
PCorpus(DirSource(txt),
dbControl = list(dbName = "pcorpus.db", dbType = "DB1"))
## End(Not run)
|
Loading required package: NLP
<<PCorpus>>
Metadata: corpus specific: 0, document level (indexed): 0
Content: documents: 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.