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

📄 tmfilter-methods.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 tmFilter 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 tmFilter-methods {tm}"><tr><td>tmFilter-methods {tm}</td><td align="right">R Documentation</td></tr></table>
<h2>Methods for Function tmFilter in Package &lsquo;tm&rsquo;</h2>


<h3>Description</h3>

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


<h3>Methods</h3>

<dl>
<dt>object = "Corpus", FUN  = sFilter, doclevel = FALSE</dt><dd>If
<code>doclevel</code> is set, the method applies <code>FUN</code> onto each element
of <code>object</code> and returns the filtered <code>object</code>; otherwise
<code>FUN</code> is applied to <code>object</code> itself, i.e., the
filter is applied onto the <code>object</code>. Note that metadata is
automatically passed to <code>FUN</code>. The function <code>FUN</code> must
return a Boolean value.</dd>
</dl>

<h3>See Also</h3>

<p>
<code><a href="sFilter.html">sFilter</a></code>
<code><a href="tmIndex-methods.html">tmIndex</a></code>
</p>


<h3>Examples</h3>

<pre>
data("crude")
tmFilter(crude, FUN = searchFullText, "company", doclevel = TRUE)
</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 + -