TextRepository {tm}R Documentation

Text Repository

Description

Constructs a text repository.

Usage

## S4 method for signature 'Corpus':
TextRepository(object, meta = list(created = Sys.time()))

Arguments

object A directory containing the documents.
meta An initial list of tag-value pairs for the meta data.

Value

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

Author(s)

Ingo Feinerer

Examples

data("crude")
repo <- TextRepository(crude)
summary(repo)
RepoMetaData(repo)

[Package tm version 0.3-3 Index]