VCorpus-class {tm}R Documentation

Volatile Corpus

Description

A class representing a volatile corpus.

Details

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 from the Class

Objects can be created by calls of the form new("VCorpus",...) or by calling the function VCorpus.

Slots

.Data:
Object of class list containing the documents.
CMetaData:
Object of class 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:
Object of class 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.).

Extends

Class list, directly.

Methods

CMetaData
signature(object = "VCorpus"): Returns the corpus specific metadata in form of a tag-value paired list.
DMetaData
signature(object = "VCorpus"): Returns the document specific metadata in form of a data frame.

Author(s)

Ingo Feinerer

See Also

MetaDataNode VCorpus PCorpus


[Package tm version 0.4 Index]