VCorpus-class {tm} | R Documentation |
A class representing a volatile corpus.
Volatile means that a corpus is fully kept in memory and thus all changes only affect the corresponding R object.
In contrast there is also a corpus implementation available providing
a permanent semantics (see PCorpus
).
Objects can be created by calls of the form
new("VCorpus",...)
or by calling the function
VCorpus
.
.Data
:list
containing the
documents.CMetaData
:MetaDataNode
containing
corpus specific meta data in form of tag-value pairs and information about
children in form of a binary tree. This information is useful for
reconstructing meta data after e.g. merging corpora.DMetaData
:data.frame
containing
the document specific meta data for the collection. This data frame
typically encompasses clustering or classification results which
basically are metadata for documents but form an own entity (e.g.,
with its name, the value range, etc.).
Class list
, directly.
signature(object = "VCorpus")
: Returns the
corpus specific metadata in form of a tag-value
paired list.signature(object = "VCorpus")
: Returns the
document specific metadata in form of a data frame.Ingo Feinerer