Democratizing the medieval English legal tradition
Not on the map. Why?
Abstract (arXiv)
The record of the beginning of the most widespread legal system in the world is contained in millions of pages of handwritten text. Most of the records of the first centuries of the Anglo-American legal system are hand-written in a highly abbreviated form of medieval Latin which only a few dozen scholars in the world are trained to read. In this interdisciplinary project, we construct a dataset of 4029 lines of text across 193 medieval criminal and civil cases. We then use the dataset to train an open-source end-to-end pipeline for transcribing these manuscripts. We first train standard neural network architectures for line segmentation and handwriting recognition (R-Blla and CNN+LSTM with CTC decoding, respectively) and show that they can already achieve 79% word accuracy, despite the relatively small training set and the challenge of expanding abbreviations. We then demonstrate that simple post-processing significantly boosts accuracy: adding an n-gram language model to the CTC decoder improves word accuracy to 82%, while asking Gemini Pro 3 to correct mistakes boosts accuracy to 88%. Finally, we compare the CNN+LSTM architecture with TrOCR, a transformer-based OCR architecture, demonstrating that TrOCR shows comparable word accuracy but worse character accuracy due to its over-willingness to guess, making it harder for humans to infer the correct reading. We incorporated our pipeline into a web portal (glyphmachina.com), opening up the English legal tradition to legal scholars, medievalists, and students.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 8 of its 18 references that are in the map. First posted on arXiv 1 May 2026.
Builds on
8 of 18 references.
References · 8
- 2017Attention Is All You Needcited by 60,361
- 2015An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognitioncited by 520
- 2021TrOCR: Transformer-based Optical Character Recognition with Pre-trained Modelscited by 279
- 2020Pay Attention to What You Read: Non-recurrent Handwritten Text-Line Recognitioncited by 71
- 2021Rethinking Text Line Recognition Modelscited by 45
- 2023DTrOCR: Decoder-only Transformer for Optical Character Recognitioncited by 40
- 2025Handwritten Text Recognition: A Surveycited by 12
- 2025TRIDIS: A Comprehensive Medieval and Early Modern Corpus for HTR and NERcited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.