Read In a MS Word Document
Return a function which reads in a Microsoft Word document extracting its text.
readDOC(AntiwordOptions = "")
- Options passed over to
Formally this function is a function generator, i.e., it returns a
function (which reads in a text document) with a well-defined
signature, but can access passed over arguments (e.g., options to
antiword) via lexical scoping.
Note that this MS Word reader needs the tool
installed and accessible on your system. This can convert documents
from Microsoft Word version 2, 6, 7, 97, 2000, 2002 and 2003 to plain
text, and is available from http://www.winfield.demon.nl/.
- a list with the named component
uriwhich must hold a valid file name.
- a string giving the language.
- Not used.
functionwith the following formals:
PlainTextDocumentrepresenting the text and metadata extracted from
Reader for basic information on the reader infrastructure
employed by package tm.