Skip to content
RAG Repo

Standardized Project Gutenberg Corpus (SPGC)

The Standardized Project Gutenberg Corpus takes the raw Project Gutenberg collection and turns it into something you can analyse straight away. It strips the boilerplate headers and footers, applies consistent formatting, and attaches clean metadata plus word and token counts (a token is roughly a word or word-piece) for each title.

The processing code lives on GitHub, and prebuilt versions of the corpus are published on Zenodo, an open research archive, so you can either regenerate it yourself or download a ready-made snapshot. This makes it a good fit for reproducible research and for building literary RAG systems without writing your own cleaning pipeline.

The book content stays in the public domain, while the processing code is released under the MIT licence.

public-domainbooksliteratureresearchcleaned

Related sources