textdoccol-class.html
来自「R-Project是一个开源的统计软件,专门有一个R语言,类似S语言,这个包里面」· HTML 代码 · 共 85 行
HTML
85 行
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Text document collection</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 Corpus-class {tm}"><tr><td>Corpus-class {tm}</td><td align="right">R Documentation</td></tr></table>
<h2>Text document collection</h2>
<h3>Description</h3>
<p>
A class representing a collection of text documents (denoted as corpus
in linguistics).
</p>
<h3>Objects from the Class</h3>
<p>
Objects can be created by calls of the form
<code>new("Corpus",...)</code> or by calling the function
<code>Corpus</code>.
</p>
<h3>Slots</h3>
<dl>
<dt><code>CMetaData</code>:</dt><dd>Object of class <code>MetaDataNode</code> containing
the Document Collection specific MetaData for the collection in form of
tag-value pairs and information about children in form of a binary
tree. This information is useful for reconstructing meta data
after e.g. merging document collections.</dd>
<dt><code>DMetaData</code>:</dt><dd>Object of class <code>data.frame</code> containing
the Document specific MetaData for the collection. This dataframe
typically encompasses clustering or classification results which
basically are metadata for documents but form an own entity (e.g.,
with its name, the value range, etc.).</dd>
<dt><code>DBControl</code>:</dt><dd>Object of class <code>list</code> with three
named components: <code>useDb</code> indicates whether database support
is activated, <code>dbName</code> holds the path to the database
storage, and <code>dbType</code> stores the database type.</dd>
</dl>
<h3>Extends</h3>
<p>
Class <code>list</code>, directly.
</p>
<h3>Methods</h3>
<dl>
<dt>CMetaData</dt><dd><code>signature(object = "Corpus")</code>: returns the
document collection specific metadata in form of a tag-value
paired list.</dd>
<dt>DMetaData</dt><dd><code>signature(object = "Corpus")</code>: returns the
document specific metadata in form of a data frame.</dd>
<dt>DBControl</dt><dd><code>signature(object = "Corpus")</code>: returns
the database configuration settings.</dd>
</dl>
<h3>Author(s)</h3>
<p>
Ingo Feinerer
</p>
<h3>See Also</h3>
<p>
<code><a href="MetaDataNode-class.html">MetaDataNode-class</a></code>
<code><a href="TextDocCol.html">Corpus</a></code>
</p>
<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 + =
减小字号Ctrl + -
显示快捷键?