prescindMeta(tm)
prescindMeta()所属R语言包:tm
Prescind Document Meta Data
孤立地思考文件的元数据
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extracts meta data from each individual document (either stored in its attributes or in additional user-defined local meta data pairs) of a corpus and creates a data frame which contains both the global meta data information of the corpus plus the extracted (i.e., shifted up) local meta data of the individual text documents.
语料库从每个单独的文档(或者存储在它的属性,或额外的用户定义的本地元数据对)中提取元数据,并创建一个数据框,其中包含全球的元数据信息的语料库加上所提取的(即,移向上)的单独的文本文件的本地元数据。
用法----------Usage----------
prescindMeta(x, meta)
参数----------Arguments----------
参数:x
A corpus.
的语料库。
参数:meta
A character vector of meta data names to be shifted up.
字符向量的元数据名称上移。
值----------Value----------
A data frame constructed from x with shifted up meta data.
构建一个数据框从x与meta数据转移。
参见----------See Also----------
DMetaData, and meta
DMetaData和meta
实例----------Examples----------
data("crude")
DMetaData(crude)
meta(crude, tag = "ID", type = "local")
prescindMeta(crude, c("ID", "Heading"))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|