# Removing Manually-Generated Boilerplate from Electronic Texts:   Experiments with Project Gutenberg e-Books

**Authors:** Owen Kaser, Daniel Lemire

arXiv: 0707.1913 · 2016-08-24

## TL;DR

This paper explores a statistical method to automatically remove boilerplate text from Project Gutenberg e-books, reducing manual effort and improving processing of large literary corpora.

## Contribution

It demonstrates the effectiveness of statistical techniques in identifying boilerplate sections across diverse texts, with considerations for language knowledge and scalability.

## Key findings

- Statistical approach successfully removes most boilerplate text.
- Some documents require English language knowledge for accurate removal.
- Survey of technical solutions enhances applicability to large datasets.

## Abstract

Collaborative work on unstructured or semi-structured documents, such as in literature corpora or source code, often involves agreed upon templates containing metadata. These templates are not consistent across users and over time. Rule-based parsing of these templates is expensive to maintain and tends to fail as new documents are added. Statistical techniques based on frequent occurrences have the potential to identify automatically a large fraction of the templates, thus reducing the burden on the programmers. We investigate the case of the Project Gutenberg corpus, where most documents are in ASCII format with preambles and epilogues that are often copied and pasted or manually typed. We show that a statistical approach can solve most cases though some documents require knowledge of English. We also survey various technical solutions that make our approach applicable to large data sets.

## Full text

Tomesphere does not host the full text of arXiv papers. Read it on arXiv: https://arxiv.org/abs/0707.1913

## References

28 references — full list in the complete paper: https://tomesphere.com/paper/0707.1913/full.md

---
Source: https://tomesphere.com/paper/0707.1913