| TextRepository {tm} | R Documentation |
Construct a text repository for corpora. A repository is designed to keep track of multiple corpora, either different ones, or corpora with the same underlying texts but at different preprocessing stages.
TextRepository(x,
meta = list(created =
as.POSIXlt(Sys.time(), tz = "GMT")))
x |
A corpus. |
meta |
An initial list of tag-value pairs for the repository meta data. |
An object of class TextRepository which extends the class
list containing corpora. Meta data annotations are stored in
the attribute RepoMetaData in form of tag-value pairs (i.e., a
named list).
Ingo Feinerer
data("crude")
repo <- TextRepository(crude)
summary(repo)
RepoMetaData(repo)