arXiv:2605.00977cs.CVcs.AI2026-05被引 1

让普通人也能读懂中世纪英国法律手稿,靠的是自动识别与AI纠错。

Democratizing the medieval English legal tradition

论文配图:Democratizing the medieval English legal tradition
图 1 · 摘自论文原文
  • 用神经网络分行+识别手写拉丁文,79%词准确率
  • 加语言模型和AI修正后,词准确率达88%
  • 开源工具链+网页平台,降低法律史研究门槛

世界上应用最广泛的法律体系起源记录,保存在数百万页手写文本中。盎格鲁-美利坚法律体系早期的绝大多数档案以高度缩写的中世纪拉丁文书写,全球仅有数十位学者能解读。本跨学科项目构建了包含193个刑事与民事案件共4029行文本的数据集,并训练了一个开源端到端转录管道。首先使用R-Blla进行行分割、CNN+LSTM结合CTC解码进行手写识别,即使数据量小且需展开缩写,仍达到79%词准确率。随后通过简单后处理显著提升性能:加入n-gram语言模型使词准确率升至82%,调用Gemini Pro 3纠正错误后达88%。最后对比CNN+LSTM与基于Transformer的TrOCR模型,发现后者词准确率相当但字符准确率更低,因过度猜测导致人工难以还原原文。该管道已集成至网页平台glyphmachina.com,向法律学者、中世纪研究者及学生开放英国法律传统。

原文摘要 · Abstract (English)

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.

手写识别法律史AI辅助开源工具

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。