readReut21578XML {tm}R Documentation

Read In a Reuters21578 XML Document

Description

Read in a Reuters21578 XML document.

Usage

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

Arguments

elem A list with the two named elements content and uri. The first element holds the document to be read in, the second element holds a call to extract this document. The call is evaluated upon a request for load on demand.
language A character vector giving the text's language.
id A character vector representing a unique identification string for the returned text document.

Value

An XMLTextDocument for readReut21578XML, or a PlainTextDocument for readReut21578XMLasPlain.

Author(s)

Ingo Feinerer

See Also

Use getReaders to list available reader functions.


[Package tm version 0.4 Index]