⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 meta.html

📁 R-Project是一个开源的统计软件,专门有一个R语言,类似S语言,这个包里面就是一个R实现的文本挖掘(text mining简称tm)的包.里面有代码和样本数据.
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Methods for Function meta in Package &lsquo;tm&rsquo;</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../R.css">
</head><body>

<table width="100%" summary="page for meta-methods {tm}"><tr><td>meta-methods {tm}</td><td align="right">R Documentation</td></tr></table>
<h2>Methods for Function meta in Package &lsquo;tm&rsquo;</h2>


<h3>Description</h3>

<p>
Methods for function <code>meta</code> in package <span class="pkg">tm</span>.
</p>


<h3>Methods</h3>

<dl>
<dt>object = "TextDocument"</dt><dd>If no <code>tag</code> is given, this
method pretty prints all <code>object</code>'s meta data. If <code>tag</code>
is provided its value in the meta data is returned.</dd>
<dt>object = "Corpus"</dt><dd>If no <code>tag</code> is given, this
method investigates the <code>type</code> argument. <code>type</code> must be
either <code>indexed</code> (default) or <code>corpus</code>. Former is a
shortcut for accessing document level meta data
(<code><a href="TextDocCol-class.html">DMetaData</a></code>) stored at the collection level (because
it forms an own entity, or for performance reasons, i.e., a form
of indexing, hence the name indexed), the latter a shortcut for
collection (corpus) specific meta data
(<code><a href="TextDocCol-class.html">CMetaData</a></code>). Depending whether a tag is set or not,
all or only the meta data identified by the tag is displayed or
modified.</dd>
<dt>object = "TextRepository"</dt><dd>If no <code>tag</code> is given, this
method pretty prints all <code>object</code>'s meta data. If <code>tag</code>
is provided its value in the meta data is returned.</dd>
</dl>

<h3>Examples</h3>

<pre>
data("crude")
meta(crude[[1]])
meta(crude[[1]], tag = "Topics")
meta(crude[[1]], tag = "Comment") &lt;- "A short comment."
meta(crude[[1]])
meta(crude)
meta(crude, type = "corpus")
meta(crude, "labels") &lt;- 21:40
meta(crude)
</pre>



<hr><div align="center">[Package <em>tm</em> version 0.3 <a href="00Index.html">Index]</a></div>

</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -