Institutional Newspapers Pipeline: Deriving billions of high quality tokens from historical newspapers
Matteo Cargnelutti, Catherine Brobston, Eben English, Jake Sadow, Kacie Bailey, Greg Leppert, Amanda Watson, Jessica Chapel and 1 others
Institutional Data Initiative, Harvard Law School Library · Boston Public Library · Harvard Law School Library · Harvard Law School · Harvard School of Engineering and Applied Sciences · Harvard Kennedy School
Published August 19, 2026 · on the feed September 3, 2026 · ▲ 9 · arXiv 2608.18972
The abstract
Historical newspapers are an abundant record of public life, but their dense, irregular and sometimes noisy layouts make computational access to these materials both challenging and limited. We present the Institutional Newspapers Pipeline, a modular system we jointly designed with Boston Public Library to extract high-quality, structured datasets from historical newspaper scans. It was architected so that each step remains interpretable and customizable, and so that the pipeline as a whole remains computationally frugal enough to run on workstation-level hardware. The pipeline runs each scan through a multi-step process: it segments scans into individual type-agnostic crops and performs OCR on each resulting segment before then performing text analysis, type classification, reading order detection, named entities recognition, subject classification, language detection, and pre-computed embeddings generation on every crop. We ran this pipeline against a portion of Boston Public Library's holdings and released the results as an open dataset. The optical character recognition (OCR) output represents 16.3 billion o200k_base tokens across 83.1 million individual crops, extracted from 1,473,635 public domain newspaper scans published between 1795 and 1930. This report describes our methods for each processing step, the small models we trained, as well as the evaluation results and dataset-scale measurements we collected in the process. It accompanies the release of the pipeline, models, and dataset. We position this work as a substantial step towards unlocking high-quality data from tens of millions of newspaper scans.
The Brief
2:40A short podcast summary of the paper. Written and voiced by AI.
Transcript
Institutional Newspapers Pipeline. Deriving billions of high quality tokens from historical newspapers. By Matteo Cargnelutti and eight others, from the Institutional Data Initiative at Harvard Law School Library, the Boston Public Library, and four other institutions. Published on the nineteenth of August. Its code repository is worked out: about seventy-five source files, with a readme and a licence.
Three things are released together: a pipeline, the small models trained for it, and an open dataset produced by running it. The dataset is the headline. Its optical character recognition output comes to sixteen point three billion tokens, counted with the o200k_base tokenizer. Those tokens sit across eighty-three point one million individual crops, cut from roughly one point four seven million public domain newspaper scans held by Boston Public Library.
Every crop carries more than text. After segmentation and recognition, the pipeline runs text analysis, type classification, reading order detection, named entity recognition, subject classification and language detection on each one, and generates embeddings for it in advance. So what comes out is a structured dataset rather than a pile of page text. The scans span well over a century of printing, the most recent of them from the early twentieth century.
Historical newspapers are an abundant record of public life, but their layouts are dense, irregular and sometimes noisy, which has kept computational access to them hard and limited. The Institutional Newspapers Pipeline was designed jointly with Boston Public Library to deal with that. Its first move is to segment each scan into individual crops that are type agnostic, then run recognition on each segment before any of the analysis steps. Two design commitments shaped it. Each step stays interpretable and customizable, and the whole pipeline stays computationally frugal enough to run on workstation-level hardware. The report describes the method for every processing step, along with the evaluation results and the dataset-scale measurements collected along the way.
One limit on that provenance is stated plainly. The pipeline was run against a portion of the library's holdings, not all of them, so the release reflects that portion.
The obvious audience is anyone who needs large amounts of high-quality text with known origins, and anyone studying the historical record those papers hold. Because the pipeline itself is released and is built to run on modest hardware, it is also for institutions holding scans of their own, since each step can be inspected and adjusted rather than taken whole.
The authors position this as a substantial step toward unlocking high-quality data from tens of millions of newspaper scans. The scale already reached is in the billions of tokens. The ambition in that framing is that the same frugal, inspectable process can keep going, archive by archive.
Paper Quest · 7 chapters · about 41 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
A century of newsprint, locked in messy scans. Here is the wall.
You hold 1,473,635 public domain newspaper scans from 1795 to 1930. Their layouts are dense and irregular: columns, decorative headings, tables, and scans of varying quality that general-purpose tools handle badly.
The road ahead
- 1 · The problem ~7 min Old newspaper scans are packed, irregular and noisy, so ordinary text extraction gives text too poor to study item by item.
- 2 · What came before ~3 min
- 3 · The key idea ~9 min Cut every scan into standalone crops first, then read each crop and label it with separate, small, efficient steps.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min Scans are cut into crops, each crop is read, typed, ordered, tagged and embedded, and the results are released openly.
- 6 · The experiment ~6 min You’ll guess: Across 83.1 million crops from Boston Public Library scans, how many billion o200k_base tokens did the pipeline's OCR output contain?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.