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", ...)
.
.Data
:character
containing the
content.Author
:character
containing
the author names.DateTimeStamp
:character
containing the
date and time when the document was written.Description
:character
containing
additional text information.ID
:integer
containing
an identifier.Origin
:character
containing
information on the source and origin of the text.Heading
:character
containing
the title or a short heading.Language
:character
containing
the language of the text.LocalMetaData
:list
containing
the local meta data in form of tag-value pairs.Newsgroup
:character
containing
the newsgroups where the document has been posted.
Class character
and TextDocument
, directly.
signature(object = "NewsgroupDocument")
: Returns the
text corpus, i.e., the actual character data slot.signature(object = "NewsgroupDocument")
: Sets the
text corpus, i.e., the actual character data slot.Ingo Feinerer
http://kdd.ics.uci.edu/databases/20newsgroups/20newsgroups.html