PCorpus-class {tm} | R Documentation |
A class representing a corpus with underlying permanent storage.
Objects can be created by calls of the form
new("PCorpus",...)
or by calling the function
PCorpus
.
.Data
:list
holding keys (the
document IDs) in order to access the underlying database entries.CMetaData
:MetaDataNode
containing
the 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.).DBControl
:list
with two
named components: dbName
holds the path to the permanent database
storage, and dbType
stores the database type.
Class list
, directly.
signature(object = "PCorpus")
: Returns the
corpus specific metadata in form of a tag-value
paired list.signature(object = "PCorpus")
: Returns the
document specific metadata in form of a data frame.signature(object = "PCorpus")
: Returns
the database configuration settings.Ingo Feinerer