Learn R Programming

tm (version 0.1-1)

TextDocCol: Text document collection

Description

Constructs a text document collection.

Usage

## S3 method for class '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 docu
...
optional arguments for the parser.

Value

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