Help us shape the future of Go! Take the 2026 Go Developer Survey

harvest

command
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

harvest extends a corpus of real PDFs from the Internet Archive.

A prevalence is only as honest as the population it was measured over. The go-pdfkit corpora are government forms and arXiv figures, and between them they hold almost no JBIG2 and almost no JPEG 2000 — so a figure like "six files in sixteen hundred use JBIG2" says what is in those two populations, not what is in the world. Mass digitisation is where a scanned page lives, and a scanned page is a fax.

harvest -dir /Users/Shared/pdfscans -origin ia-americana \
    -query 'collection:americana AND format:"Text PDF"' -want 250

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL