readReut21578XML {tm} | R Documentation |
Read in a Reuters-21578 XML document.
readReut21578XML(elem, language, id)
readReut21578XMLasPlain(elem, language, id)
elem |
a named list with the component |
language |
a string giving the language. |
id |
Not used. |
An XMLTextDocument
for readReut21578XML
, or a
PlainTextDocument
for readReut21578XMLasPlain
,
representing the text and metadata extracted from elem$content
.
Lewis, David (1997). Reuters-21578 Text Categorization Collection Distribution. UCI Machine Learning Repository. doi:10.24432/C52G6M.
Reader
for basic information on the reader infrastructure
employed by package tm.