让中世纪英国法律传统民主化
Democratizing the medieval English legal tradition
AI总结:
本文通过构建包含193个中世纪案件的文本数据集,训练端到端转录管道,利用神经网络和后处理技术提升手写文本识别准确率,最终展示TrOCR与CNN+LSTM的性能对比。
摘要:
最广泛法律体系的记录包含数百万手写文本页。大多数早期盎格鲁-美利坚法律体系记录以高度缩写的中世纪拉丁文书写,只有少数学者能阅读。本文构建了包含193个中世纪刑事案件和民事案件的4029行文本数据集,训练开放源代码的端到端转录管道。首先训练标准神经网络架构进行行分割和手写识别(R-Blla和CNN+LSTM with CTC解码),显示其在较小训练集和扩展缩写挑战下可达到79%的词准确率。随后展示简单后处理显著提升准确率:添加n-gram语言模型到CTC解码器可将词准确率提升至82%,而让Gemini Pro 3纠正错误可提升至88%。最后比较CNN+LSTM架构与TrOCR(基于Transformer的OCR架构),显示TrOCR在词准确率上相当但字符准确率较差,因其过度猜测导致人类难以推断正确阅读。将管道整合到网页门户(glyphmachina.com),向法律学者、中世纪学者和学生开放英国法律传统。
英文摘要:
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分析而来,可能存在错误,请以论文正文为准。