Description Creating Objects Slots Details See Also
An S4 class for storing Project Gutenberg book data and some of its metadata.
new('pgbook', url = ..., title = ..., author = ...,
header = ..., text = ..., nlines = ..., nwords = ...,
language = ..., license = ...)
url
:url the text came from.
header
:Preamble to text inserted by Project Gutenberg.
license
:The license associated to the text.
The specification for a book object is as follows:
* The slot text
consists of the corpus itself, stored as character
vector. This should be the equivalent of calling readLines()
on
an unformatted text representation of the book.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.