S3U

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 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.

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.

1. What is search precision in the validation sample?
2. What is search recall in that sample?
3. What are the retrieved and manually confirmed phrase rates, respectively?
4. What is needed before transferring this validation to another period?
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.