SCM

SCM Repository

[tm] View of /trunk/tm/man/convertRCV1Plain.Rd
ViewVC logotype

View of /trunk/tm/man/convertRCV1Plain.Rd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 726 - (download) (as text) (annotate)
Sun Apr 8 00:31:22 2007 UTC (12 years, 4 months ago) by feinerer
File size: 790 byte(s)
Added a lot of examples to the manuals.
\name{convertRCV1Plain}
\alias{convertRCV1Plain}
\title{Transform A RCV1 Document To A Plain Text Document}
\description{
  Transform a Reuters Corpus Volume 1 XML document to a plain text
  document.
}
\usage{
convertRCV1Plain(node, ...)
}
\arguments{
  \item{node}{an XML node representing a <newsitem></newsitem> element
    from a well-formed RCV1 XML file.}
  \item{...}{Arguments passed over by calling functions.}
}
\value{
  A \code{PlainTextDocument} representing \code{node}.
}
\seealso{\code{\link{asPlain}}}
\examples{
rcv1 <- system.file("texts", "rcv1", package = "tm")
rcv1TDC <- TextDocCol(DirSource(rcv1), readerControl = list(reader = readRCV1, language = "en_US", load = TRUE))
rcv1TDC[[1]]
asPlain(rcv1TDC[[1]], convertRCV1Plain)
}
\author{Ingo Feinerer}
\keyword{file}

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge