TextDocCol {tm}R Documentation

Text document collection

Description

Constructs a text document collection.

Usage

## S4 method for signature 'Source':
TextDocCol(object, parser = read_plain, load = FALSE,...)

Arguments

object a Source object.
parser a parsing function capable of handling the file format found in object.
load a logical value indicating whether the text corpus of documents should be loaded immediately into memory (load = TRUE) or loaded when necessary (load = FALSE). This allows to minimize memory demands for large document collections. If object does not support load on demand the text corpus is automatically loaded, i.e., this argument is overruled.
... optional arguments for the parser.

Value

An S4 object of class TextDocCol which extends the class list containing a collection of text documents.

Author(s)

Ingo Feinerer


[Package tm version 0.1-1 Index]