historyblog

Add a note

Shawn Graham

What they did

Graham followed course materials from Anastasia Salter's agentic-coding-for-humanities session (MLA, January 2026) to prompt Claude Code with a question he and his child had: did the local paper, the Shawville Equity, print anything about the Whitechapel murders? Claude Code produced the one-page visualisation from the OCR analysis easily; the hard part was the OCR of a scanned, skewed newspaper with a poor machine-made text layer. He wanted to stay local, so he compared pytesseract, PaddleOCR and Surya, and ended up splitting pages along the paper's five-column layout and horizontal spacers before OCR, then stitching coordinates back together. The paper did publish stories about the Ripper.

In their words

"Claude was great and making a nice one-page html visualization from the eventual analysis of the OCR."

"But the tricky bit – 'twas ever thus – was the bloody OCR."

"I spent way too much time trying to solve what has been solved by vision models more or less but the more things we can do locally, the better."

Lessons they draw

  • Source quality, not the agent, was the bottleneck: OCR and page segmentation took the effort (Graham).
  • Local-only tools cost time that hosted vision models would save; he chose locality anyway (Graham).
  • Bad newspaper OCR has consequences for research; he points to Ian Milligan's work on this (Graham).

Limits of this account

Short exploratory post. No model version, no accuracy figures for OCR or for the retrieved stories, and no description of how the finding about the Ripper stories was checked. The original is on Graham's own blog; Digital Humanities Now carries an editors' summary at https://digitalhumanitiesnow.org/2026/01/futzing-with-newspaper-ocr/.

Search the collection

↑ ↓ move · Enter open · Shift+Enter original source · Esc close · Search index for agents

Keyboard shortcuts

Single keys work when you are not typing and no dialog is open. Turn them off if stray key presses move the page. ⌘K / Ctrl+K and Esc keep working.

/
Search the collection
⌘K / Ctrl+K
Open or close search
?
Show these shortcuts
h
Home
l
Lessons
a
Accounts
r
Replications
p
Papers
g
Guides and tools
d
Timeline
b
Bookmark the record you are reading (press again to remove it)
s
Your saved list and notes
← →
Previous and next record on an account, lesson, replication or paper page, and in a quick look
m
Switch between system, light and dark theme
t
Back to the top of the page
Open full page