Representing and computing on text documents.
Text documents are documents containing (natural language) text. The
tm package employs the infrastructure provided by package NLP and
represents text documents via the virtual S3 class
Actual S3 text document classes then extend the virtual base class (such as
All extension classes must provide an
method which extracts the natural language text in documents of the
respective classes in a “suitable” (not necessarily structured)
form, as well as
for accessing the (possibly raw) document content and metadata.
for the text document classes provided by package tm.
TextDocument for text documents in package NLP.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.