NewsgroupDocument-class {tm} | R Documentation |
A class representing a newsgroup document with additional information. The newsgroup documents must be formatted according to the Newsgroup dataset from the UCI KDD archive.
Objects can be created by calls of the form new("NewsgroupDocument", ...)
.
Newsgroup
:character
containing
the newsgroups where the document has been postedURI
:character
containing
the path and filename holding the data physically on diskCached
:numeric
containing the
status whether the file was already loaded in memory. Zero indicates
not loaded, a value greater zero indicates in memory.
Class character
and TextDocument
, directly.
signature(object = "NewsgroupDocument")
: returns the
text corpus, i.e., the actual character data slotsignature(object = "NewsgroupDocument")
: sets the
text corpus, i.e., the actual character data slotsignature(object = "NewsgroupDocument")
: returns the
filename on disksignature(object = "NewsgroupDocument")
: returns
status information for loading on demandsignature(object = "NewsgroupDocument")
: sets
status information for loading on demandIngo Feinerer
http://kdd.ics.uci.edu/databases/20newsgroups/20newsgroups.html