Description Creating Objects Slots Details See Also
An S4 class for storing book data and some of its metadata.
new('book', text = ..., title = ..., author = ...,
language = ...,)
text
:The actual text corpus.
title
:Title of the text.
author
:Author of the text.
language
:The (human) language the text is written in.
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.