Skip to content
S3U
Login Create Account

History / Historical sources / Graduate / hse02

Historical Corpus Search and OCR Measurement Error

Evaluate search accuracy before using hits as historical frequency evidence.

All worksheets
5 questions0m 0s

Prerequisites

Confusion matrices, proportions, representative sampling, and digital source criticism.

Learn first

Sources are evidence, with limits

A source is a surviving record, object, or account. A primary source comes from the time or people studied; a secondary account interprets sources. Both require questions about purpose and context.

How to work it out Ask who made it, when, why, and what it can directly establish. Compare independent evidence and name what remains unknown.

A separate example A separate diary can tell what one writer reported. It does not automatically describe everyone’s experience or independently confirm another copied account.

Learn the skill

Separate the historical concept from its searchable representation. Validate both retrieved and unretrieved pages. Precision measures the correctness of hits; recall measures recovery of relevant pages. A search hit rate alone can reflect OCR errors as well as historical usage.

Worked example

If a sample contains ten relevant pages and a search finds seven of them plus one irrelevant page, recall is 7/10 while precision is 7/8. These denominators answer different questions.

Ten relevant pages include seven found and three missed. An additional irrelevant page is found. Recall is seven out of ten relevant pages; precision is seven out of eight found pages.
Recall measures how much relevant material was found; precision measures how much found material was relevant.

Model and Assumptions

Fictional random validation sample: 200 pages, 50 truly containing a target phrase and 150 not containing it. Search returns 35 true positives and 5 false positives, missing 15 relevant pages. Treat manual labels as correct for this exercise. The target is phrase occurrence, not endorsement of its meaning.

Question 1 What is search precision in the validation sample?
Question 2 What is search recall in that sample?
Question 3 What are the retrieved and manually confirmed phrase rates, respectively?
Question 4 What is needed before transferring this validation to another period?
Question 5 Does a correctly recovered phrase prove that the writer endorsed it?

Further inquiry

Calculate specificity and derive p_observed=sensitivity*p+(1-specificity)*(1-p). Solve for p when the denominator is nonzero. Discuss uncertainty, transport to other periods, and why using the same validation sample to check its own correction is not independent validation.

Review criteria

  • Obtain specificity 145/150 and corrected p=0.25 for the supplied sample rates.
  • State the stable-error-rate and reference-label assumptions needed for transfer.
  • Keep phrase detection distinct from historical interpretation or endorsement.