cs.CLAug 19, 2026

Institutional Books - Enriched Text: A customizable multilingual open-source pipeline for denoising, deduplicating, and annotating OCR text at scale

Authors: David Lowry-Duda, Matteo Cargnelutti, Catherine Brobston, Salwa Ismail, Greg Leppert, Amanda Watson, Jonathan Zittrain

Organizations: Institutional Data Initiative, Harvard Law School Library · Harvard Library · Harvard Law School Library · Harvard Law School, Harvard School of Engineering and Applied Sciences, Harvard Kennedy School

Abstract

Released in 2025, Institutional Books: Harvard Library (IB-HL) is a collection of 983,004 volumes (242B o200k_base tokens), originally digitized through Harvard Library's participation in the Google Books Library project. As researchers and developers have begun to use IB-HL, a tension has emerged between standard large-scale preprocessing practices and the goals of careful information stewardship. Many existing pipelines optimize for web text: as a result, they tend to aggressively filter, deduplicate, restrict by language, and sometimes discard meaningful metadata. Meanwhile, researchers seeking to use IB-HL duplicate effort while performing similar processing and analysis. We describe an approach that we call Enriched Text. Instead of producing a single 'complete' stream of tokens, we normalize the text while preserving metadata through annotations. We separate endmatter, detect per-paragraph language, identify clusters of duplicate paragraphs, and compute per-paragraph bits-per-byte scores. We provide this information through HTML-like annotations layered on top of the text. By parsing these annotations, users can tailor the output to their own needs instead of accepting a global editorial decision on content. The pipeline applies to all ≈\approx250 languages in the collection. This report describes this project's goals, implementation, and design rationale. The release includes IB-HL-ET (an enriched-text version of IB-HL containing 217B o200k_base tokens across 983,003 volumes, organized into 1.39B annotated subtopic paragraphs) and the pipeline that produced it. These serve to make the collection easier for machines to parse and for humans to study.

Explore similar work

CardsList
  1. Institutional Books - Visual Elements: An open-source pipeline for extracting, classifying, deduplicating, and captioning visual elements from digital book collections

    Aug 19, 2026Jimmy Mendez, Matteo Cargnelutti, David Lowry-Duda +5Historical Document ProcessingDocument Image Understanding

  2. Institutional Newspapers Pipeline: Deriving billions of high quality tokens from historical newspapers

    Aug 19, 2026Matteo Cargnelutti, Catherine Brobston, Eben English +6Historical Document ProcessingDocument Information Extraction

  3. Vidya: An AI-Driven Modular Pipeline for Archival Automation and Semantic Metadata Enrichment

    May 7, 2026Cloter Migliorini Filho, Julia Graciela Machado, Edson Armando Silva +1LLM-Assisted AnnotationLLM Information Extraction