找回密码
 注册
查看: 787|回复: 0

R语言 tm包 readDOC()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-10-1 10:51:43 | 显示全部楼层 |阅读模式
readDOC(tm)
readDOC()所属R语言包:tm

                                        Read In a MS Word Document
                                         阅读在MS Word文档

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Return a function which reads in a Microsoft Word document extracting its text.
返回一个函数在Microsoft Word文档中提取的文本内容。


用法----------Usage----------


readDOC(AntiwordOptions = "", ...)



参数----------Arguments----------

参数:AntiwordOptions
Options passed over to antiword.
选项传递到antiword。


参数:...
Arguments for the generator function.
对生成器函数的参数。


Details

详细信息----------Details----------

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.
从形式上看,这个函数是一个函数发生器,也就是说,它返回一个函数(在一个文本文件中读取)与一个明确的签名,但可以访问传递过来的参数(例如,选项到antiword)通过词法范围。

Note that this MS Word reader needs the tool antiword 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/.
请注意,这MS Word的读者需求的工具antiword安装在您的系统上访问。这可以转换为纯文本文件从Microsoft Word版本2,6,7,97,2000年,2002年和2003年,和可以从http://www.winfield.demon.nl/。


值----------Value----------

A function with the signature elem, language, id:
Afunction的签名elem, language, id:


参数:elem
A list with the named element uri of type character which must hold a valid file name.
Alist的命名元素的uri类型character必须持有有效的文件名。


参数:language
A character vector giving the text's language.
Acharacter矢量提供的文本的语言。


参数:id
A character vector representing a unique identification string for the returned text document.
Acharacter向量,代表一个独特的标识字符串,返回的文本文件。

The function returns a PlainTextDocument representing the text in content.
该函数返回一个PlainTextDocument代表中的文字content。


(作者)----------Author(s)----------


Ingo Feinerer



参见----------See Also----------

getReaders to list available reader functions.
getReaders列出可用的阅读器功能。

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-19 00:49 , Processed in 0.018810 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表