Gutenberg Book Collection
BRIDGES provides easy access to Gutenberg book meta and text data. You are able to retreive entire book texts as well as meta information on the books avalible. This meta data that you can request or search for includes: ID, Title, Language, date issued, authors, genres, and library of congress classifications. Users are able to search the meta index for certain matching values as well.
The list of searchable catagories includes:
- id
- title
- author
- date
- language
- genre
- loc
Suggested Examples:
data_source.get_gutenberg_book_metadata("Shakespeare, William", "author")
data_source.gutenberg_book_text(2701)
The program snippet below illustrates how to access this dataset.
See also
This tutorial gives an introduction to the usage of Gutenberg Books. You can find the complete documentation of the features in the Doxygen documentation of the following classes and functions:
- GutenbergMeta [Java] [C++] [Python]
- getGutenbergBookMetaData() and variants [Java] [C++] [Python]
- getGutenbergBookText() [Java] [C++] [Python]
Accessing Gutenberg Data: An Example BRIDGES program
- Copy/paste the code into your environment and compile.
- Assuming all your code is correct and it compiles correctly, the code will print a record of the data to the console.