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

R语言 tm.plugin.dc包 tm_map.DCorpus()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-10-1 10:44:38 | 显示全部楼层 |阅读模式
tm_map.DCorpus(tm.plugin.dc)
tm_map.DCorpus()所属R语言包:tm.plugin.dc

                                        Transformations on Distributed Corpora
                                         分布式语料库的转变

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

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

Interface to apply transformation functions to distributed corpora. See tm_map in tm for more information.
界面将变换功能分布语料库。见tm_map中tm的详细信息。


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


## S3 method for class 'DCorpus'
tm_map(x, FUN, ..., useMeta = FALSE, lazy = FALSE)



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

参数:x
A distributed corpus of class DCorpus.
一个分布语料库类DCorpus。


参数:FUN
A transformation function returning a text document.
一个变换函数返回一个文本文件。


参数:...
Arguments to FUN.
FUN的参数。


参数:useMeta
Logical. Should DMetaData be passed over to FUN as argument?
逻辑。如果DMetaData被传递到FUN作为参数?


参数:lazy
FALSE. Only available to be compatible with standard tm mapping routines. Lazy evaluation is not supported in the tm.plugin.dc package.
FALSE。只适用于兼容标准的tm的映射例程。 tm.plugin.dc包不支持懒惰的评价。


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

A DCorpus with FUN applied to each document in x. If revisions are enabled, the original documents contained in x can be retrieved via getting back to the corresponding revision using the function setRevision().
ADCorpus与FUN中的每个文档x应用。如果修改已启用,原文件中包含的x可以通过获得相应的修订,使用功能setRevision()检索。


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

getTransformations for available transformations.
getTransformations可用的转换。


实例----------Examples----------


data("crude")
tm_map(as.DCorpus(crude), tolower)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-19 01:18 , Processed in 0.029497 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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