{"document":{"doc_id":26571,"source":"fed_paper","org":"FRB Philadelphia","doc_type":"Working Papers","title":"Mixed Methods: Performance of OCR, Fuzzy Search, and LLMs with Image-Based Text","date":"2026-11-16","url":"https://www.fedinprint.org/item/fedpwp/104071/original","source_native_id":"fedpwp:104071","status":"fetched","abstract":"Over time, humans have created vast archives of unstructured textual data that remain largely inaccessible to contemporary researchers. Advances in optical character recognition (OCR), full-text search, and large language models (LLMs) offer unprecedented opportunities to unlock insights from historical source material by making it technically and economically feasible to analyze these data. We present a framework to consider the various costs and trade-offs of different methods for working with a large corpus of images containing unstructured text. We illustrate this framework and present performance statistics via a case study identifying racial restrictions in 5.1 million images of Philadelphia property deeds from 1910–1965. We find 8,395 deed images containing a racial restriction, which we estimate to cover more than 6% of all parcels in Philadelphia.","action":null},"dockets":[],"rins":[],"related":[],"references":[{"citation_id":372643,"raw_reference":"Hincken 2021","cited_authors":"Garrett Hincken","cited_year":"2021","cited_title":"How Tangled Titles Affect Philadelphia","cited_venue":"The Pew Charitable Trusts","cited_doi":null,"cited_url":"https://www.pew.org/en/research-and-analysis/reports/2021/08/how-tangled-titles-affect-philadelphia","ref_kind":"research_report","section":"§3.1","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372644,"raw_reference":"Stein and Carpenter 2022","cited_authors":"Sarah Stein, Ann Carpenter","cited_year":"2022","cited_title":"Heir's Property in an Urban Context","cited_venue":"Agricultural and Applied Economics Association","cited_doi":"10.22004/ag.econ.316788","cited_url":"https://doi.org/10.22004/ag.econ.316788","ref_kind":"working_paper","section":"§3.1","page":null,"context_sentence":null,"paper_id":24787,"paper_title":"Heir's Property in an Urban Context","paper_year":2022,"paper_doi":"10.22004/ag.econ.316788"},{"citation_id":372645,"raw_reference":"Storey 2018","cited_authors":"Emanuel A. Storey","cited_year":"2018","cited_title":"Cartographically Reconstructing Surveys of Community Land Grants in New Mexico to Support Historical Research and Political Discourse","cited_venue":"Historical Methods 52, no. 2","cited_doi":"10.1080/01615440.2018.1502641","cited_url":null,"ref_kind":"journal_article","section":"§3.1","page":null,"context_sentence":null,"paper_id":24791,"paper_title":"Cartographically reconstructing surveys of community land grants in New Mexico to support historical research and political discourse","paper_year":2018,"paper_doi":"10.1080/01615440.2018.1502641"},{"citation_id":372646,"raw_reference":"Asquith, Mast, and Reed 2023","cited_authors":"Brian J Asquith, Evan Mast, Davin Reed","cited_year":"2023","cited_title":"Local Effects of Large New Apartment Buildings in Low-Income Areas","cited_venue":"Review of Economics and Statistics 105, no. 2","cited_doi":"10.1162/rest_a_01055","cited_url":"https://doi.org/10.1162/rest_a_01055","ref_kind":"journal_article","section":"§3.1","page":null,"context_sentence":null,"paper_id":24788,"paper_title":"Local Effects of Large New Apartment Buildings in Low-Income Areas","paper_year":2021,"paper_doi":"10.1162/rest_a_01055"},{"citation_id":372647,"raw_reference":"Bartik, Gupta, and Milo 2025","cited_authors":"Alexander Bartik, Arpit Gupta, Daniel Milo","cited_year":"2025","cited_title":"The Costs of Housing Regulation: Evidence From Generative Regulatory Measurement","cited_venue":"SSRN Electronic Journal","cited_doi":"10.2139/ssrn.4627587","cited_url":"https://dx.doi.org/10.2139/ssrn.4627587","ref_kind":"working_paper","section":"§3.1","page":null,"context_sentence":null,"paper_id":24789,"paper_title":"The Costs of Housing Regulation: Evidence From Generative Regulatory Measurement","paper_year":2023,"paper_doi":"10.2139/ssrn.4627587"},{"citation_id":372648,"raw_reference":"Shertzer, Twinam, and Walsh 2016","cited_authors":"Allison Shertzer, Tate Twinam, Randall P. Walsh","cited_year":"2016","cited_title":"Race, Ethnicity, and Discriminatory Zoning","cited_venue":"American Economic Journal: Applied Economics 8, no. 3","cited_doi":"10.1257/app.20140430","cited_url":"https://doi.org/10.1257/app.20140430","ref_kind":"journal_article","section":"§3.1","page":null,"context_sentence":null,"paper_id":24790,"paper_title":"Race, Ethnicity, and Discriminatory Zoning","paper_year":2016,"paper_doi":"10.1257/app.20140430"},{"citation_id":372649,"raw_reference":"Korngold 2001","cited_authors":"Gerald Korngold","cited_year":"2001","cited_title":"The Emergence of Private Land Use Controls in Large-Scale Subdivisions: The Companion Story to Village of Euclid v. Ambler Realty Co.","cited_venue":"Case Western Reserve Law Review 51 (4)","cited_doi":null,"cited_url":"https://scholarlycommons.law.case.edu/caselrev/vol51/iss4/5","ref_kind":"journal_article","section":"§3.1","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372650,"raw_reference":"Weiss 1987","cited_authors":"Marc A. Weiss","cited_year":"1987","cited_title":"The Rise of the Community Builders","cited_venue":"Beard Books","cited_doi":null,"cited_url":null,"ref_kind":"book","section":"§3.1","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372651,"raw_reference":"Santucci 2020","cited_authors":"Larry Santucci","cited_year":"2020","cited_title":"Documenting Racially Restrictive Covenants in 20th Century Philadelphia","cited_venue":"Cityscape: A Journal of Policy Development and Research 22, no. 3","cited_doi":null,"cited_url":"https://www.huduser.gov/portal/periodicals/cityscpe/vol22num3/ch11.pdf","ref_kind":"journal_article","section":"§3.1","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372652,"raw_reference":"Surani et al. 2024","cited_authors":"Faiz Surani, Mirac Suzgun, Vyoma Raman, Christopher D. Manning, Peter Henderson, Daniel E. Ho","cited_year":"2024","cited_title":"AI for Scaling Legal Reform: Mapping and Redacting Racial Covenants in Santa Clara County","cited_venue":"Stanford RegLab Working Paper","cited_doi":"10.1093/jla/laaf005","cited_url":"https://dho.stanford.edu/wp-content/uploads/Covenants.pdf","ref_kind":"working_paper","section":"§3.1","page":null,"context_sentence":null,"paper_id":24793,"paper_title":"AI for scaling legal reform: mapping and redacting racial covenants in Santa Clara County","paper_year":2025,"paper_doi":"10.1093/jla/laaf005"},{"citation_id":372653,"raw_reference":"Delegard et al. 2026","cited_authors":"Kirsten Delegard, Rebecca Gillette, Michael Corey, Penny Petersen, Ryan Mattke, Amelia Palacios","cited_year":"2026","cited_title":"Mapping Prejudice","cited_venue":"University of Minnesota","cited_doi":null,"cited_url":"https://mappingprejudice.umn.edu/","ref_kind":"dataset","section":"§3.1","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372654,"raw_reference":"Gordon 2023","cited_authors":"Colin Gordon","cited_year":"2023","cited_title":"Patchwork Apartheid","cited_venue":"Russell Sage Foundation","cited_doi":"10.1353/book.114548","cited_url":null,"ref_kind":"book","section":"§3.1","page":null,"context_sentence":null,"paper_id":24792,"paper_title":"Patchwork Apartheid: Private Restriction, Racial Segregation, and Urban Inequality","paper_year":2023,"paper_doi":"10.1353/book.114548"},{"citation_id":372655,"raw_reference":"Plotkin 2001","cited_authors":"Wendy Plotkin","cited_year":"2001","cited_title":"\"Hemmed in\": The struggle against racial restrictive covenants and deed restrictions in Post-WWII Chicago","cited_venue":"Journal of the Illinois State Historical Society 94, no. 1","cited_doi":null,"cited_url":null,"ref_kind":"journal_article","section":"§3.1","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372656,"raw_reference":"Winling 2026","cited_authors":"LaDale Winling","cited_year":"2026","cited_title":"National Covenants Research Coalition","cited_venue":"National Covenants Research Coalition","cited_doi":null,"cited_url":"https://www.nationalcovenantsresearchcoalition.com/whoweare","ref_kind":"web_page","section":"§3.1","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372657,"raw_reference":"Almagro and Sood 2026","cited_authors":"Milena Almagro, Aradhya Sood","cited_year":"2026","cited_title":"Choices or Constraints? Disentangling Preferences from Restrictions in Housing Markets","cited_venue":null,"cited_doi":null,"cited_url":"https://m-almagro.github.io/Covenants_Structural_Historic.pdf","ref_kind":"working_paper","section":"§3.1","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372658,"raw_reference":"Hughes 1958","cited_authors":"Charles Hughes, Jr.","cited_year":"1958","cited_title":"The Philadelphia Program","cited_venue":"American Archivist 21, no. 2","cited_doi":"10.17723/aarc.21.2.9705270181482k23","cited_url":null,"ref_kind":"journal_article","section":"§3.2","page":null,"context_sentence":null,"paper_id":49482,"paper_title":"The Philadelphia Program","paper_year":1958,"paper_doi":"10.17723/aarc.21.2.9705270181482k23"},{"citation_id":372659,"raw_reference":"Kiessling 2025","cited_authors":"Benjamin Kiessling","cited_year":"2025","cited_title":"The Kraken OCR system","cited_venue":null,"cited_doi":null,"cited_url":"https://kraken.re","ref_kind":"dataset","section":"§4.3","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372660,"raw_reference":"Li et al. 2022","cited_authors":"Minghao Li, Tengchao Lv, Jingye Chen, Lei Cui, Yijuan Lu, Dinei Florencio, Cha Zhang, Zhoujun Li, Furu Wei","cited_year":"2022","cited_title":"TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models","cited_venue":"arXiv:2109.10282","cited_doi":"10.1609/aaai.v37i11.26538","cited_url":"https://arxiv.org/abs/2109.10282","ref_kind":"working_paper","section":"§4.3","page":null,"context_sentence":null,"paper_id":49483,"paper_title":"TrOCR: Transformer-Based Optical Character Recognition with Pre-trained Models","paper_year":2023,"paper_doi":"10.1609/aaai.v37i11.26538"},{"citation_id":372661,"raw_reference":"Poznanski, Soldaini, and Lo 2025","cited_authors":"Jake Poznanski, Luca Soldaini, Kyle Lo","cited_year":"2025","cited_title":"olmOCR 2: Unit Test Rewards for Document OCR","cited_venue":"arXiv:2510.19817","cited_doi":null,"cited_url":"https://arxiv.org/abs/2510.19817","ref_kind":"working_paper","section":"§4.3","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372662,"raw_reference":"Mindee 2021","cited_authors":"Mindee","cited_year":"2021","cited_title":"docTR: Document Text Recognition","cited_venue":null,"cited_doi":null,"cited_url":"https://github.com/mindee/doctr","ref_kind":"dataset","section":"§4.3","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372663,"raw_reference":"Suzgun, Shieber, and Jurafsky 2023","cited_authors":"Mirac Suzgun, Stuart M Shieber, Dan Jurafsky","cited_year":"2023","cited_title":"string2string: A Modern Python Library for String-to-String Algorithms","cited_venue":"arXiv:2304.14395","cited_doi":"10.18653/v1/2024.acl-demos.26","cited_url":"https://arxiv.org/abs/2304.14395","ref_kind":"working_paper","section":"§4.4","page":null,"context_sentence":null,"paper_id":24794,"paper_title":"string2string: A Modern Python Library for String-to-String Algorithms","paper_year":2024,"paper_doi":"10.18653/v1/2024.acl-demos.26"},{"citation_id":372664,"raw_reference":"Wattenberg 1976","cited_authors":"Ben Wattenberg","cited_year":"1976","cited_title":"The Statistical History of the United States","cited_venue":"Basic Books","cited_doi":null,"cited_url":null,"ref_kind":"book","section":"§4.2","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372665,"raw_reference":"Bureau of the Census 1976","cited_authors":"Bureau of the Census","cited_year":"1976","cited_title":"Housing construction statistics, 1889 to 1964","cited_venue":"Arno Press","cited_doi":null,"cited_url":null,"ref_kind":"book","section":"Appendix references","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372666,"raw_reference":"Chagué 2024","cited_authors":"Alix Chagué","cited_year":"2024","cited_title":"McCATMuS - Transcription model for handwritten, printed and typewritten documents from the 16th century to the 21st century","cited_venue":"Zenodo","cited_doi":"10.5281/zenodo.13788177","cited_url":"https://doi.org/10.5281/zenodo.13788177","ref_kind":"dataset","section":"Appendix F","page":null,"context_sentence":null,"paper_id":24795,"paper_title":"McCATMuS - Transcription model for handwritten, printed and typewritten documents from the 16th century to the 21st century","paper_year":2024,"paper_doi":"10.5281/zenodo.13788176"},{"citation_id":372667,"raw_reference":"Nelson 2026","cited_authors":"David Ragnar Nelson","cited_year":"2026","cited_title":"The RevCity Model: HTR Recognition Model trained on 18th century English handwriting","cited_venue":"Zenodo","cited_doi":"10.5281/zenodo.19238205","cited_url":"https://doi.org/10.5281/zenodo.19238205","ref_kind":"dataset","section":"Appendix F","page":null,"context_sentence":null,"paper_id":24796,"paper_title":"The RevCity Model: HTR Recognition Model trained on 18th century English handwriting","paper_year":2026,"paper_doi":"10.5281/zenodo.19238204"},{"citation_id":372668,"raw_reference":"Datalab 2025","cited_authors":"Datalab","cited_year":"2025","cited_title":"Chandra OCR: Layout-Aware Optical Character Recognition Model","cited_venue":"GitHub","cited_doi":null,"cited_url":"https://github.com/datalab-to/chandra","ref_kind":"dataset","section":"Appendix F.1","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372669,"raw_reference":"OpenAI 2025","cited_authors":"OpenAI","cited_year":"2025","cited_title":"Context Arena","cited_venue":null,"cited_doi":null,"cited_url":"https://contextarena.ai/","ref_kind":"web_page","section":"§2","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":372670,"raw_reference":"The Athenaeum of Philadelphia. The Philadelphia Real Estate Record and Builders' Guide","cited_authors":"The Athenaeum of Philadelphia","cited_year":null,"cited_title":"The Philadelphia Real Estate Record and Builders' Guide","cited_venue":"The Athenaeum of Philadelphia","cited_doi":null,"cited_url":"https://www.philageohistory.org/BuildersGuide/","ref_kind":"dataset","section":"References","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null}]}