Learn R Programming

tm (version 0.5-9.1)

readReut21578XML: Read In a Reuters-21578 XML Document

Description

Read in a Reuters-21578 XML document.

Usage

readReut21578XML(elem, language, id)
readReut21578XMLasPlain(elem, language, id)

Arguments

elem
A list with the named element content which must hold the document to be read in.
language
A character vector giving the text's language.
id
A character vector representing a unique identification string for the returned text document.

Value

  • A Reuters21578Document for readReut21578XML, or a PlainTextDocument for readReut21578XMLasPlain.

References

Lewis, David (1997) Reuters-21578 Text Categorization Collection Distribution 1.0. http://kdd.ics.uci.edu/databases/reuters21578/reuters21578.html

Luz, Saturnino XML-encoded version of Reuters-21578. http://modnlp.berlios.de/reuters21578.html

See Also

getReaders to list available reader functions.