Description Usage Arguments Examples
Small selection of texts from the Project Gutenberg electronic text archive.
| 1 2 3 4 5 6 7 | gutenberg_files(to_r = FALSE)
gutenberg_raw(file, to_r = FALSE)
gutenberg_words(file, to_r = FALSE)
gutenberg_sents(file, to_r = FALSE)
 | 
| to_r | Whether to return results in R tidy format. | 
| file | A Gutenberg file as returned by  | 
| 1 2 3 4 5 6 7 | ## Not run: 
files <- gutenberg_files(to_r = TRUE)
words <- gutenberg_words(sample(files, 1)) # get random text
text <- nltk_text(words) # convert
text$concordance("surprize")
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.