📄 convertreut21578xmlplain.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Transform A Reuters21578 XML Document To A Plain Text Document</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 convertReut21578XMLPlain {tm}"><tr><td>convertReut21578XMLPlain {tm}</td><td align="right">R Documentation</td></tr></table>
<h2>Transform A Reuters21578 XML Document To A Plain Text Document</h2>
<h3>Description</h3>
<p>
Transform a Reuters21578 XML document to a plain text
document.
</p>
<h3>Usage</h3>
<pre>
convertReut21578XMLPlain(node, ...)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>node</code></td>
<td>
an XML node representing a <REUTERS></REUTERS> element
from a well-formed Reuters-21578 XML file.</td></tr>
<tr valign="top"><td><code>...</code></td>
<td>
Arguments passed over by calling functions.</td></tr>
</table>
<h3>Value</h3>
<p>
A <code>PlainTextDocument</code> representing <code>node</code>.</p>
<h3>Author(s)</h3>
<p>
Ingo Feinerer
</p>
<h3>See Also</h3>
<p>
<code><a href="asPlain.html">asPlain</a></code>
</p>
<h3>Examples</h3>
<pre>
reut21578 <- system.file("texts", "reut21578", package = "tm")
reut21578TDC <- Corpus(DirSource(reut21578), readerControl = list(reader = readReut21578XML, language = "en_US", load = TRUE))
reut21578TDC[[1]]
asPlain(reut21578TDC[[1]], convertReut21578XMLPlain)
</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 + -