Learn R Programming

tm (version 0.2-3.7)

TextRepository: Text repository

Description

Constructs a text document collection from various sources.

Usage

## S3 method for class 'TextDocCol':
TextRepository(object, meta = list(created = Sys.time()))

Arguments

object
a directory containing the documents.
meta
an initial list of tag-value pairs for the representational metadata

Value

  • An S4 object of class TextRepository which extends the class list containing text document collections.

Examples

Run this code
data("crude")
repo <- TextRepository(crude)
summary(repo)
RepoMetaData(repo)

Run the code above in your browser using DataLab