preprocessreut21578xml.html

来自「R-Project是一个开源的统计软件,专门有一个R语言,类似S语言,这个包里面」· HTML 代码 · 共 71 行

HTML
71
字号
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Preprocess the Reuters21578 XML archive.</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 preprocessReut21578XML {tm}"><tr><td>preprocessReut21578XML {tm}</td><td align="right">R Documentation</td></tr></table>
<h2>Preprocess the Reuters21578 XML archive.</h2>


<h3>Description</h3>

<p>
Preprocess the Reuters21578 XML archive by correcting invalid UTF8
encoding and copying each text document into a separate file.
</p>


<h3>Usage</h3>

<pre>
preprocessReut21578XML(ReutersDir, ReutersOapfDir, fixEnc = TRUE)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>ReutersDir</code></td>
<td>
a character describing the input directory.</td></tr>
<tr valign="top"><td><code>ReutersOapfDir</code></td>
<td>
a character describing the output directory.</td></tr>
<tr valign="top"><td><code>fixEnc</code></td>
<td>
a logical value indicating whether the invalid UTF8
encoding in the Reuters21578 XML dataset should be corrected.</td></tr>
</table>

<h3>Value</h3>

<p>
No explicit return value. As a side product the directory
<code>ReutersOapfDir</code> contains the corrected dataset.</p>

<h3>Author(s)</h3>

<p>
Ingo Feinerer
</p>


<h3>References</h3>

<p>
Lewis, David (1997) <EM>Reuters-21578 Text Categorization
Collection Distribution 1.0</EM>.
<a href="http://kdd.ics.uci.edu/databases/reuters21578/reuters21578.html">http://kdd.ics.uci.edu/databases/reuters21578/reuters21578.html</a>
</p>
<p>
Luz, Saturnino <EM>XML-encoded version of Reuters-21578</EM>.
<a href="http://modnlp.berlios.de/reuters21578.html">http://modnlp.berlios.de/reuters21578.html</a>
</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 + -
显示快捷键?