Manuscript Offprint
arXiv:2610.36956Mining the Nineteenth Century for the Thirteenth: Register-Scale Forced Alignment and HTR Bootstrapping via Legacy Regesta and Antiquarian Editions
Abstract
Handwritten text recognition (HTR) for the registers of Pope Honorius III depends on modern expert transcriptions, which exist only for regnal years 1–2 of Reg. Vat. 9. For the remaining registers, nineteenth-century scholarship offers Pressutti's regesta and partial editions. On fol. 1–203, where both layers exist, we measure what this legacy layer can contribute, on transcriptions that we first audit against it, and find a division of labor across three tiers. At the orthographic tier, raw editions are at best neutral for adapting a recognizer to the second regnal year and harmful without replay, whereas projection onto curial spelling with replay of modern source lines turns them into zero-label adaptation targets: pooled over all 134 year-2 sides, the WER falls by 1.50 points (95% CI −1.84 to −1.15), closing 33% of the gap to an oracle; the spelling changes at the year split, through the scribe or the transcriber, whereas the hand changes visibly only at fol. 191r. At the lexical tier, the corpus-wide legacy lexicon contains 82.2% of the out-of-vocabulary words of unedited entries and flags recognition errors with 66.7% precision, and labels from pre-trained medieval NER models, distilled into the recognizer's NER head, reach 82.1% on an expert-validated benchmark, level with the best tagger applied after recognition. At the topological tier, Pressutti's regests, the closing datum clauses, and the regests' dates converted to the chancery's Roman form find 73.9% of entry starts in the recognized line stream, and edition agreement estimates a CER of 7.80% beyond fol. 203. Antiquarian scholarship thus cannot replace modern transcription, but it can steer, check, and segment HTR across the untranscribed registers.
1 Introduction
The registers of Honorius III (Reg. Vat. 9–13) hold more than 5,000 letters and have no modern edition. A forced-aligned recognizer trained on the expert transcriptions of the first two regnal years reads held-out pages of the same volume with 12.5% WER, and with 8.7% WER after re-alignment, bidirectional decoding with BPE targets, and language-model rescoring (Kovács and Luger, 2026). These transcriptions end at fol. 203 of Reg. Vat. 9. For the remaining folios, two older kinds of text exist: the regesta of Pressutti (1888, 1895), which record for nearly every entry its folio, letter number, a Latin summary, and the incipit, and full texts printed in the nineteenth century, above all in Horoy's Opera omnia (Horoy, 1879–1882), but also in the MGH selection of Rodenberg (1883), in Raynaldi's Annales ecclesiastici (Raynaldi, 1864–1883), and in Theiner's regional collections (Theiner, 1859–1860, 1860, 1861, 1863, 1864). These texts were made for reading: they modernize spelling, abridge formulae, and expand initials, and their OCR adds its own noise.
Aligning images with existing editions is an established way to obtain ground truth for registers and charters (Stutzmann et al., 2017; Bluche et al., 2017; Torres Aguilar and Jolivet, 2023), and models trained on such data reproduce the editorial conventions of their targets (Torres Aguilar and Jolivet, 2023; Kovács and Luger, 2026); earlier work on the papal registers used crowd-sourced or expert line transcriptions (Nieddu et al., 2021; Ammirati et al., 2023). What has not been measured is how far antiquarian editions of a register stand from a modern transcription of the same letters, and what that distance costs a recognizer.
Reg. Vat. 9, fol. 1–203, carries both the modern transcriptions and this legacy layer, so the legacy route can be measured against modern ground truth before it is used where no such truth exists. We address three research questions. RQ1 (orthographic tier): how accurately can nineteenth-century editions be force-aligned to recognized lines and projected onto the spelling of the register, and how much of the gap to the second regnal year do they close when a recognizer is adapted without modern labels (Sections 3–5)? RQ2 (lexical tier): how much of the out-of-vocabulary words and proper names of unseen pages do the regesta and editions cover, and can pre-trained medieval NER models together with this legacy lexicon reduce name errors and supervise a recognizer's NER head without a hand-written rule (Section 7)? RQ3 (topological tier): on folios without an edition, how well can Pressutti's regesta segment the recognized line stream into entries, and how far can edition agreement estimate recognition quality beyond fol. 203 (Sections 5–6)? Our answer is a division of labor: modern transcriptions train the recognizer, while the legacy layer adapts it, checks its vocabulary, and structures its output.
Pressutti. The OCR of both volumes (Internet Archive) is parsed into 5,059 entries with number, date and place, register reference (book, letter, folio), incipit, and edition citations; the appendix of incoming letters (41 Lettere de' Principi) forms a separate list. Through Pressutti's number, which the expert transcriptions record, 626 of the 860 transcribed entries are linked to their regest, and Pressutti cites Horoy for 267 of them. Before parsing, the OCR is normalized (one pair of quote marks, rejoined hyphens, running heads removed), and the register references are read in both orders of folio and letter: this recovers the address of 3,845 regests (only 1 before normalization, because the parser needs two quoted units and the OCR renders the quote marks in many forms) and the letter number of 3,928 (3,830 before), and 129 OCR digit confusions are repaired where they break the register's order. Of Pressutti's 5,059 regests, 46.7% name no printed edition (an upper bound, since Pressutti's citations are incomplete) (book 1: 27.1%, book 11: 65.4%), which is the share of letters for which only
| Edition (Internet Archive OCR) | entries |
|---|---|
| Horoy 2 | 357 |
| MGH Epp. saec. XIII 1 | 35 |
| Horoy 4 | 24 |
| Horoy 1 | 22 |
| Horoy 3 | 16 |
| Theiner Codex dipl. 1 | 15 |
| Raynaldi (Baronius-Theiner) 20 | 13 |
| Theiner Hibernorum | 10 |
| Theiner Poloniae 1 | 9 |
| Raynaldi (Baronius-Theiner) 21 | 7 |
| Theiner Slavorum merid. 1 | 1 |
| all (best source per entry) | 509 |
Table 1: Transcribed entries of Reg. Vat. 9 (years 1–2) linked to a nineteenth-century full text, by the edition that matched best.
the regest exists.
Editions. Horoy's letter numbers do not follow the register numbering of the transcriptions, so we link by text. Every text is reduced to a matching layer (lower case, letters only; j→i, v→u, y→i, ae/oe/æ/ɔ→e, ti+vowel→ci, ch→h with h dropped, so that mihi and michi coincide). Three 120-character windows of each transcribed entry are searched in the full OCR text of eleven volumes, and an entry is linked when two windows match in order at a normalized distance of at most 0.25, or one at most 0.12. This links 509 entries (59%; years 1 and 2: 360 and 149; Table 1) and recovers 249 of the 267 entries for which Pressutti cites Horoy. For 358 entries (91,505 expert words), the edition span lies within distance 0.30 of the expert text; most of the remainder are correct letters whose spans are interrupted by running heads and footnotes at page breaks (the OCR reads Horoy's two columns in the right order).
3 Alignment to Nineteenth-Century Texts
The CATMuS reading of each line is aligned to the edition spans of the entries on its folio and the neighbors. We compare the baseline semi-global aligner of Kovács and Luger (2026) (edit distance with re-anchoring; accepted at distance , silver at and characters) with two additions. Entry anchoring assigns lines in reading order to non-decreasing entries, or to none (marginalia, rubrics, entries without edition), by a monotone Viterbi pass over the per-entry distances, with a bonus where a line contains the entry's incipit. Formula bridging inserts after every etc. the majority continuation of its three preceding words in the Innocent III edition, and each line uses the better of the plain and the bridged text. Curial projection maps the target to the spelling of the register: ae/oe→e and j→i always, ti→ci and mihi→michi
| Edition | median | classicizing graphs | ||||
|---|---|---|---|---|---|---|
| entries | strict | span dist. % | in edition /1,000 w. | in expert /1,000 w. | etc. /1,000 w. | |
| Horoy | 419 | 299 | 10.3 | 99 | 49 | 4.7 |
| MGH Epp. saec. XIII 1 | 35 | 29 | 8.1 | 47 | 48 | 4.6 |
| Theiner | 35 | 15 | 49.3 | 51 | 49 | 11.0 |
| Raynaldi | 20 | 15 | 16.2 | 88 | 42 | 0.5 |
Table 2: Linked entries by edition family: strict links (span distance ), median span distance on the matching layer, classicizing graphs (ae/oe/æ/ɔ, ti+vowel, mihi/nihil, j) per 1,000 words in the edition and in the expert transcription of the same entries, and truncations by etc.
where the reader shows the curial form, and optionally a bare initial of the reader for an expanded name.
The legacy texts give 5,446 silver lines from the strict links and 6,156 from all links, about half of the 13,122 lines that the modern transcriptions give on the same pages (Table 3), and of them are placed on the same text as the modern target. The remaining differences are editorial rather than positional: CER on the reading layer, on the strict layer, and WER, which curial projection lowers to , , and . Anchoring adds few lines (5,472 against 5,446) at slightly lower fidelity, and bridging applies to 10 lines only, because the register itself abridges most formulae. Placement is therefore solved by the baseline aligner. Projection removes the spelling of the classicizing Horoy edition CER for its lines) and leaves the MGH, Raynaldi, and Theiner lines unchanged. What remains after projection is mostly not spelling: edition emendations and abridgements account for of the residual edits, OCR noise for , and words cut at line edges by the alignment for , whereas curial variants that projection does not model (numerals, eandem, doubled consonants) account for , none of them for more than ; projecting all of them as well would lower the reading-layer CER only from to (on the 5,205 strict-link line pairs where both projections can be compared). Curial projection is thus close to its ceiling. The rules need not be written by hand. Learned from the 3,171 silver lines of the year-1 training pages alone (character rewrites with one character of left and up to two of right context, read off the aligned word pairs and kept when they make at least 15 more correct than wrong changes), 46 rules with 11 distinct rewrites recover , and , add three curial variants that the hand rules leave out (quemdam quendam, quum cum, xs x) and four OCR confusions of the editions (fl fi among them), and do not learn ti ci, because the modern transcriptions keep ti before a vowel (1,793 of 1,881 aligned cases in year 1). On the held-out year-1 pages they lower the strict-layer CER to against for the hand rules, and on year 2, transcribed by the other expert, to against (Table 4); gating the less certain rules by the reader, as the hand rules gate ti/ci, changes little. Curial projection is thus a procedure that can be estimated from a few hundred paired lines, not a rule list tied to this register. The ex-
| Alignment | silver lines | placed % | CER, reading | CER, strict | WER | |||
|---|---|---|---|---|---|---|---|---|
| raw | proj. | raw | proj. | raw | proj. | |||
| strict links, baseline aligner | 5,446 | 98.9 | 3.40 | 3.13 | 3.86 | 3.21 | 12.5 | 10.8 |
| strict links, entry anchoring | 5,472 | 98.8 | 3.60 | 3.32 | 4.05 | 3.40 | 12.7 | 10.9 |
| strict links, anchoring + formula bridging | 5,472 | 98.8 | 3.60 | 3.32 | 4.05 | 3.40 | 12.7 | 10.9 |
| all links, baseline aligner | 6,156 | 98.9 | 3.61 | 3.33 | 4.07 | 3.41 | 12.9 | 11.1 |
Table 3: Experiment 1: silver lines from nineteenth-century texts on the 394 pages of Reg. Vat. 9, fol. 1–203 (13,122 modern silver lines on the same pages). Placed: the nineteenth-century target lies within reading-layer distance 0.35 of the modern target of the same line. CER and WER of the nineteenth-century target against the modern target, raw and after curial projection, on the reading layer (which harmonizes ae/e, ti/ci, u/v) and on a strict layer without harmonization.
periments below use the hand rules; the learned rules are a later check, and since they also lower the reading-layer CER (by 0.15–0.18 points), the experiments are, if anything, conservative.
4 Training on Antiquarian Lines Only
C and the hybrid are trained from scratch on the nineteenth-century lines of all training pages: raw (M1), projected (M2), and projected plus 1,052 random modern lines (M3), with selection on nineteenth-century development lines. A size-matched control (M4s) trains the hybrid on as many random modern lines as M2 contains. Both runs on M3 stalled with the default seed (the loss did not fall for 60 epochs) and were repeated with the next seed.
Legacy lines alone yield a usable but clearly weaker recognizer (Table 5): the hybrid reaches WER on projected and on raw lines, C and . Projection improves the hybrid by 3.2 and C by 3.4 points, and a small modern seed adds 2.0 more for the hybrid). With as many modern lines the hybrid reaches , so the editorial divergence of the targets
| Projection | all pairs | year 1, held-out | year 2 | |||
|---|---|---|---|---|---|---|
| WER | WER | WER | ||||
| raw edition text | 3.86 | 12.5 | 4.19 | 13.0 | 4.27 | 14.1 |
| hand-written rules | 3.21 | 10.8 | 3.56 | 11.3 | 3.53 | 12.2 |
| learned, unconditional | 3.04 | 9.9 | 3.38 | 10.4 | 3.34 | 11.3 |
| learned, reader-gated | 3.03 | 9.9 | 3.36 | 10.4 | 3.33 | 11.3 |
Table 4: Curial projection written by hand (Section 3) and learned from the silver lines of the year-1 training pages: strict-layer CER (CER ) and WER of the nineteenth-century target against the modern target of the same line, on all strict-link pairs (the basis of Table 3), on the held-out (development and test) pages of year 1, and on year 2 (rules learned on year 1 only). Reader-gated: rules with training precision below 0.95 are applied only where they bring the word closer to the recognizer's reading.
costs more (20.1% against 14.5%) than halving the modern data. Clause-final words suffer most (24–35% WER), where the editions abridge closing formulae.
5 Transfer to the Second Regnal Year
Design. Year 1 (fol. 1–130) is the source domain and year 2 (fol. 137–203) the target. An R2L-BPE hybrid (without language model) is trained on the 6,879 modern silver lines of the year-1 training pages. It reads all lines of the year-2 training and development pages, and these readings are aligned to the nineteenth-century texts of the entries on those folios, giving 1,595 training and 176 development lines. No modern year-2 label enters training or model selection. The source model is fine-tuned on these lines (learning rate , epochs, patience 4), raw or projected, with or without an equal number of replayed year-1 modern lines; as an upper bound, on the 3,646 modern year-2 lines. Year 2 differs from year 1 in spelling from the year split onward, which may stem from the scribe or from the transcriber, and in hand only on fol. 191–203 (see Beyond fol. 203 below).
Results. The source model reads year 2 with WER and CER (Table 6). Projected legacy lines with replay lower these to and , a paired bootstrap difference of WER points ( CI to ) and CER points (paired page bootstrap, 10,000 resamples), against with modern year-2 lines; this is the best of three training seeds , and points; mean ). Since 13 pages are a small sample, we repeat the experiment as three-fold cross-validation over the 67 year-2 folios, adapting on the legacy lines of the other folds' sides and scoring all sides of the held-out fold. Pooled over 134 sides, the WER falls from to points, CI to ;
| Training lines | lines | WER | CER | final | OOV | α | β |
|---|---|---|---|---|---|---|---|
| C, M1: raw 19c lines | 4,962 | 26.9 | 10.24 | 35.5 | 36.9 | 19.0 | 23.4 |
| C, M2: projected 19c lines | 4,962 | 23.6 | 9.93 | 34.2 | 33.2 | 14.0 | 21.3 |
| C, M3: projected 19c + 1,052 modern | 6,014 | 21.7 | 9.34 | 31.4 | 32.2 | 12.9 | 18.1 |
| hybrid, M1: raw 19c lines | 4,962 | 23.3 | 9.74 | 29.4 | 33.7 | 15.4 | 17.3 |
| hybrid, M2: projected 19c lines | 4,962 | 20.1 | 9.57 | 29.5 | 30.5 | 18.2 | 16.5 |
| hybrid, M3: projected 19c + 1,052 modern | 6,014 | 18.1 | 8.72 | 23.6 | 29.0 | 11.9 | 14.1 |
| hybrid, M4s: modern lines, same number as M2 | 4,962 | 14.5 | 7.46 | 21.3 | 26.2 | 13.8 | 11.3 |
| C, M4: all modern lines (baseline) | 10,525 | 14.7 | 7.20 | 20.7 | 25.8 | 10.6 | 13.9 |
| hybrid, M4: all modern lines (baseline) | 10,525 | 12.6 | 6.60 | 19.1 | 23.9 | 9.6 | 10.5 |
Table 5: Experiment 2: recognizers trained from scratch on silver lines of the 315 training pages and evaluated on the 39 test pages. M1–M3: nineteenth-century lines, with development lines from the same source (no modern label in training or selection except the 1,052 modern lines of M3); M4s: as many modern lines as M2; M4: all modern lines (the modern-transcription baseline). Final, OOV: WER on clause-final and out-of-vocabulary words; , : cadence errors at clause ends (Kovács and Luger, 2026), non-canonical endings read as canonical ( ) and canonical endings read as non-canonical ( ).
CER -0.89), against 12.5% for the oracle, so the legacy lines close 33% of the gap; this is the estimate we rely on. The gain is the same where only the transcriber changes (fol. 137–190, 108 sides: -1.45 points, 95% CI -1.84 to -1.04) and where the hand changes as well (fol. 191–203, 26 sides: -1.70, CI -2.32 to -1.07), against oracle gains of -4.19 and -5.82 points: the legacy lines adapt the model to what the two segments share, the year-2 spelling of scribe or transcriber, and the new hand adds no measurable gain of its own, while the modern labels gain more there. Without replay, raw legacy lines raise the pooled WER (+2.2 points in the cross-validation) and the model forgets year 1 (+3.9 points on the 13 pages); with replay they help a little (17.3%, -1.5 points, 95% CI -2.6 to -0.3), and projection adds more. The edition families show why: raw lines of the classicizing Horoy edition worsen the year-2 WER (+0.7 points), its projected lines improve it (-2.2), and the raw lines of the MGH and Theiner editions, which keep the register's spelling, help even unprojected (-0.5 and -0.8). Replaying year-1 legacy instead of modern lines gives almost the same year-2 gain here (-2.7) but does not prevent forgetting (year-1 WER 13.5% against 11.6%); with the original transcription legacy replay gained less, so whether the modern replay labels add to the year-2 gain remains open. Tagging each target with its convention instead of projecting it (a token <mod> or <horoy> etc. before the decoder targets, CTC on the reading layer) reaches 17.1% WER on raw tagged lines (17.0% with modern replay; 16.2% when the tag also conditions the decoder layers by FiLM), against 16.0% for projection with replay. The tag does not steer the decoder in any variant (CER against the raw edition text 10.8% with the edition tag and 10.7% with <mod>; 10.6% and 10.7% with FiLM), so it cannot select the convention of the output, which the projection rules fix explicitly. Clause-final words remain the weak point (20.5% WER against 14.6% for the oracle). Projection and replay together make the legacy layer a zero-label adaptation signal worth about a third of the oracle gap, once some forty edited folios are available.
| Model | lines | year 2 (target), 13 pages | year 1 | |||
|---|---|---|---|---|---|---|
| WER | CER | final | OOV | WER | ||
| source (year 1, modern lines) | 6,879 | 18.7 | 9.09 | 25.7 | 36.2 | 11.4 |
| + raw 19c lines of year 2 | 1,595 | 18.8 | 7.54 | 23.6 | 38.2 | 15.3 |
| + raw 19c lines + year-1 replay | 3,190 | 17.3 | 7.45 | 21.5 | 37.2 | 12.1 |
| + projected 19c lines of year 2 | 1,595 | 16.9 | 7.47 | 26.0 | 37.2 | 13.9 |
| + projected 19c lines + year-1 replay | 3,190 | 16.0 | 7.37 | 20.5 | 34.5 | 11.6 |
| oracle: + modern lines of year 2 | 3,646 | 12.6 | 6.25 | 14.6 | 30.1 | 12.9 |
Table 6: Experiment 4a: a recognizer trained on year 1 (fol. 1–130) adapted to year 2 (fol. 137–203, the part transcribed by the second expert) without modern year-2 labels. True error rates on the 13 year-2 test pages against the expert transcription, and the WER on the 26 year-1 test pages. Lines: training lines of the step.
Beyond fol. 203. For the untranscribed block fol. 204–287, no true error rate can be computed, so we report edition agreement. Two cross-fitted R2L-BPE hybrids, each trained on half of the 394 transcribed sides, read the other half and the block; each read line is searched in all nineteenth-century texts, and the CER of the covered lines (distance , characters) against the edition is measured. On the development and test pages of fol. 1–203 it covers 51% of the lines, and for 1,475 covered lines with a modern target agreement CER is 7.44% and true CER 4.87%: a bias of -2.6 points
(95% CI -3.4 to -1.9), stable in aggregate although the line-level correlation is weak (r = 0.17). On the block, 48% of the lines are covered, with 10.37% agreement CER (10.00–10.79%), and the calibrated estimate is 7.80% CER against 4.87% on the transcribed pages. The edition mix of the covered block lines matches that of the calibration pages (Horoy 85% against 84%), agreement CER is higher on the block within each edition family (Horoy 9.8% against 7.1%), and calibrating each family separately gives 7.64% (95% CI 6.68–8.52%); the bias does not differ between the two transcribed years (-0.7 points, 95% CI -2.5 to +1.1). A change-point analysis of all 562 sides (the line embeddings of an encoder trained only on Innocent III's registers, an orthographic fingerprint of the readings, and the corrected agreement) finds no change of hand inside the block: its only visual boundary lies before fol. 191r (bootstrap support 88%), so the block continues the hand of fol. 191–203. Edition agreement therefore gives an aggregate quality estimate for unseen folios at no annotation cost, and the block is genuinely harder to read than the years used for training, not merely covered by noisier editions.
6 Pressutti as an Entry Segmenter
Where no edition exists, the recognizer's output is an undivided stream of lines, and Pressutti's folio, address, and incipit are its only external structure. We test Pressutti as an entry segmenter on all 394 sides, read by the cross-fitted hybrids (no page is read by a model that saw it). Gold starts are the lines holding the first 40 characters of each expert entry (758, 312 without nineteenth-century text). The prediction uses Pressutti only: each of the 970 regests of books 1–2 is searched on the sides of its folio, (109 missing folio numbers are imputed from neighboring regests and searched ), and a start is placed at the line matching its address, or before the line matching its incipit. A baseline without Pressutti places a start after every line with a datum clause.
| Start lines from | predicted | exact line | ±1 line | ||||
|---|---|---|---|---|---|---|---|
| P | R | P | R | ||||
| datum clause (no Pressutti) | 677 | 37.1 | 33.1 | 35.0 | 61.9 | 55.4 | 58.5 |
| Pressutti address / incipit | 462 | 47.2 | 28.8 | 35.7 | 60.2 | 36.3 | 45.3 |
| union | 1,025 | 37.6 | 50.8 | 43.2 | 59.4 | 68.7 | 63.7 |
| Roman date anchor | 527 | 30.2 | 21.0 | 24.7 | 58.4 | 40.6 | 47.9 |
| Pressutti + date anchor | 912 | 35.2 | 42.3 | 38.4 | 57.8 | 58.7 | 58.2 |
| union + date anchor | 1,157 | 35.0 | 53.4 | 42.3 | 58.9 | 73.9 | 65.6 |
| monotone DP (Pressutti + datum) | 592 | 46.3 | 36.1 | 40.6 | 63.5 | 48.3 | 54.9 |
| + date anchor, ut supra | 592 | 46.3 | 36.1 | 40.6 | 63.5 | 48.3 | 54.9 |
Table 7: Experiment 5: entry start lines on the 394 transcribed sides of Reg. Vat. 9 (758 starts found in the reading), read by the cross-fitted hybrids; gold starts from the (audited) expert transcription, used for evaluation only. Date anchor: a line that reads the Roman date of a regest ends that letter.
Pressutti alone finds 36.3% of the starts within one line, at 60.2% precision (Table 7), fewer than the datum baseline (55.4% recall), because a quarter of the transcribed entries cannot be matched to a parsed regest and short incipits are ambiguous. Yet the two signals are complementary: combining both finds 68.7% of the starts ( 63.7%, against 58.5% for the baseline). Pressutti's recall is only slightly lower on entries without an edition (34.3% against 37.7%), so it carries over to the unedited register.
Monotone alignment. The register orders the entries of each book by letter number, so the regests can also be aligned to the line stream as a sequence. Gaps in the parsed letter numbers become placeholder slots (824 of 1,794); each slot-line pair is scored by a closing formula on the previous line and the address and incipit matches (weights and threshold chosen on the training sides), and the best monotone assignment is decoded by dynamic programming. On all 394 sides, the base of Table 7, it reaches 54.9% within one line (exact line 40.6%), against 58.5% (35.0%) for the closing formula alone; on the 153 starts of the development and test sides only, which played no part in choosing the weights, the two reach 56.5% (39.9%) and 58.5% (33.1%). The sequence constraint does not add recall, which locates the bottleneck in matching regests to lines rather than in their order. The OCR of the regest strings matters little: replacing them by the expert's own address and incipit raises the union recall only to 68.5%.
Roman date anchor. Pressutti dates each regest in modern form; converted to the chancery's Roman form (Kalends, Nones, Ides, pridie, the bissex-tile day, the regnal year from 24 July), the dates of 877 of the 970 regests of books 1–2 agree with Pressutti's own Roman date in 89% of the 779 cases where he prints it, and 357 are found in the recognized lines. A line that reads the date of a regest closes that letter, so the next line starts an entry. Added to the union, this anchor finds 73.9% of the starts ( 65.6%, 95% CI 62.5–68.5; recall +5.1 points, CI +3.5 to +6.9), and 73.4% on entries without an edition (Table 7). In the monotone DP the training sides give the date no weight, and a soft ut supra constraint (an identical date may be written Dat. ut supra) changes nothing ( 54.9%). The remaining misses are regests that the parser does not reach (73), folios that are missing or off by more than one (56), and regests found but placed on another line (67); a misread date accounts for 2. The chancery's own dates, not better OCR of the regests, are the lever for regest-driven segmentation.
7 Legacy Vocabulary and Neural NER
Folio gazetteer. A gazetteer of the capitalized words of Pressutti's regests for each folio and its neighbors, rewarded in the rescoring of the 16-best lists of the NER hybrid ( on the development lines), changes the name WER from 29.9% to 29.5% and leaves the WER at 10.8% (Table 8). Two causes limit it. The attention beam collapses on names: 70.1% of the 441 name words of the test lines are correct in the best hypothesis and 78.2% in at least one of the 16, so for 73% of the misread names no hypothesis offers the right form; larger lists help only slowly (oracle name WER 21.8% at 16 and 16.1% at 128 hypotheses, with 54% of the misread names still absent), and the CTC prefix beam levels off at 19.7%. The regests also name only the principal persons (113 of the name words are in the folio gazetteer, 139 with all capitalized regest words and their case forms). Contextual biasing inside CTC prefix beam search, where the beam does not collapse, therefore does not help either: the name WER is 29.7% without and 29.7% with the folio gazetteer, and with the leak-free entities of the whole legacy layer it stays between 29.5% and 30.4% in all 10 settings of bias weight
| Decoding | WER | CER | OOV | names | sigla | sigla, 31 |
|---|---|---|---|---|---|---|
| joint 16-best (no gazetteer) | 10.8 | 5.5 | 23.3 | 29.9 | 8.2 | 8.2 |
| + folio gazetteer () | 10.8 | 5.5 | 23.0 | 29.5 | 8.2 | 8.2 |
| baseline LMs (char, BPE, word) | 10.0 | 5.3 | 21.9 | 27.2 | 7.3 | 8.0 |
| + legacy LMs, lexicon, folio gazetteer | 9.9 | 5.3 | 21.6 | 27.7 | 7.3 | 8.2 |
| + OOV post-correction | 9.8 | 5.3 | 21.6 | 27.4 | 7.2 | 8.2 |
Table 8: Rescoring of the 16-best lists of the R2L hybrid with NER head trained on re-aligned lines (39 test pages). Names: WER on name words; sigla: WER against the reference with name initials as written, on all test lines; sigla, 31: the same on the 31 lines where the initials convention changes the reference. Top: joint score alone and with the folio gazetteer (with a 5-best list the same model has WER). Bottom: the baseline language models, the leak-free legacy layer, and OOV post-correction.
and beam width. Regest summaries are too sparse to steer decoding; the useful lexical evidence lies in the full texts.
Corpus-wide legacy lexicon. The full legacy layer of all regests and all eleven volumes (5,056,092 words, 408,329 types after projection, OCR forms included) covers far more. Of the training-OOV words in test entries that no edition prints, 82.2% occur in it in exactly the same form (93.5% by stem), and of the names 84.5% (90.1% among the stems of the 85,688 entity types that either tagger finds in it; Table 9). It is too permissive to choose between hypotheses (69.1% of the wrong words of C with language-model fusion occur in it, against 98.7% of its correct ones). Conversely, absence from the legacy lexicon provides a strong diagnostic signal: with the leak-free lexicon of the next paragraph, a word outside it is wrong with 66.7% precision, and this flag catches 30.9% of the 1,121 wrong words while marking 3.7% of all words. Combined with the calibrated word posterior of the hybrid (error probability 0.3), it sends 1.2% of the words to review at 93.0% precision (14.4% recall); the posterior alone ( 0.2) catches 58.2% of the errors when 9.6% of the words are routed.
Legacy lexicon in decoding. For decoding we rebuild the legacy layer without the edition spans of all entries on development and test pages (140 spans), so that no edition of a held-out letter enters the models; 4,782,222 words remain for a BPE 4-gram and a word trigram model. (a) In the 16-best rescoring, these models, the shares of words in
| Test words | n | exact | stem | entity |
|---|---|---|---|---|
| training-OOV words, all | 1,432 | 86.2 | 94.1 | - |
| in entries without edition | 618 | 82.2 | 93.5 | - |
| year 2 | 469 | 88.3 | 96.2 | - |
| names (gold), all | 692 | 87.0 | 93.9 | 92.1 |
| in entries without edition | 303 | 84.5 | 93.4 | 90.1 |
| year 2 | 207 | 92.8 | 98.1 | 98.1 |
Table 9: Coverage of test words by the legacy lexicon (all words of the 5,059 regests and the eleven edition volumes after curial projection; 5,056,092 words, 408,329 types; entity: stems of the words tagged as persons or places by the RoBERTa charter tagger or the Span-NER model in these texts). Training-OOV: words of the 39 test pages that are not in the training vocabulary; names: name words of the gold benchmark of Table 10. Editions may print the entries in which a word occurs; the rows without edition are the relevant ones for unedited folios.
the legacy lexicon and of capitalized words among its entities, and the folio gazetteer join the baseline language models (weights on the development rows: legacy BPE 0.1, lexicon 0.05, entities 0.05, gazetteer 0.2). (b) A word outside the training vocabulary whose calibrated error probability (from its posterior in the 16-best list) is is replaced by a legacy word or entity within edit distance 2 if the hybrid's CTC head scores the changed line at most 0.0 nats lower. On the test pages (Table 8), the WER falls from to with (a) and to with (b), and the OOV WER from to , while the name WER moves from to (99 words changed); on the lines of unedited entries, the OOV WER falls from to . Post-correction acts on few words (of 123 changed words, 18 become correct and 8 wrong). The total change of WER points ( CI to ; page bootstrap; ) is small and, on the audited system, not distinguishable from zero; the name WER does not improve, which positions the legacy lexicon as a signal for review rather than for decoding.
Neural NER. The NER head of Kovács and Luger (2026) was trained on labels from a heuristic rule (capitalized, not a Collatinus form, not a title). We replace the rule with two pre-trained models for medieval charters: the RoBERTa tagger of Torres Aguilar (2022) (persons, places) and the bi-encoder Span-NER of Kovács et al. (2026) (19 labels, of which we use persons and places). On the test references the two agree on 98.1% of the words (Cohen's for name versus non-name). Their 349 disagreements are first decided by explicit philological and documentary rules (lower case in the expert text, -ensis adjectives, offices and calendar terms, saints and feasts, ethnonyms, the folio's Pressutti regests, person or place context, abbreviations, Collatinus forms), and an expert then checked every disagreement (349 words) and a random sample of 50 of the 414 words both models tag and 50 of the 370 capitalized words both leave untagged, changing 40 labels. Agreement is not truth: none of the sampled agreed names was wrong, but 24% of the agreed capitalized non-names were names (95% CI 12–36%), 11% over both agreement strata. The validated labels form the gold benchmark (692 name words). Against it (Table 10) the heuristic rule reaches 68.5%, and both models lose recall when applied post hoc to recognized text (RoBERTa 79.3% on the reference and 66.9% on recognized text, Span-NER 92.2% and 81.7%). Distilling the ensemble labels into the recognizer's own NER head raises its from 60.0% with rule labels to 82.1% (+22.1 points, 95% CI +18.0 to +27.4; paired page bootstrap) at a WER of 11.1% against 11.0%; RoBERTa labels alone give 70.7%. The distilled head is ahead of the RoBERTa tagger run post hoc on the same recognized text (+15.2 points, CI +11.6 to +18.9) and level with the Span-NER model run post hoc (+0.4, CI -2.4 to +3.4), while adding only a linear layer to decoding. Labels from the legacy layer (Presutti names and legacy entities in the training lines) do not improve on the ensemble labels (80.2% together) and alone reach 66.0% (rule labels: 60.0%). Pre-trained medieval NER thus supplies entity supervision that a hand-written rule cannot, and the recognizer's head absorbs it at no cost in reading accuracy.
| Method | applied to | WER | P | R | 95% CI | |
|---|---|---|---|---|---|---|
| (a) heuristic name rule | reference | - | 88.0 | 56.1 | 68.5 | [63.0, 72.5] |
| (b) RoBERTa charter tagger | reference | - | 88.0 | 72.1 | 79.3 | [75.7, 82.9] |
| recognized text | - | 78.8 | 58.1 | 66.9 | [61.5, 72.1] | |
| (c) bi-encoder Span-NER | reference | - | 95.7 | 89.0 | 92.2 | [90.2, 94.4] |
| recognized text | - | 87.7 | 76.4 | 81.7 | [77.5, 85.6] | |
| (d) NER head, rule labels | recognized text | 11.0 | 79.7 | 48.1 | 60.0 | [55.4, 64.6] |
| (e) NER head, RoBERTa labels | recognized text | 11.1 | 83.5 | 61.3 | 70.7 | [66.6, 74.9] |
| (f) NER head, ensemble labels | recognized text | 11.1 | 89.7 | 75.7 | 82.1 | [77.5, 86.3] |
Table 10: Name words (persons and places) on the 39 test pages against the gold benchmark (692 name words, adjudicated and checked by an expert). Rows (b) and (c) on the reference contribute to the benchmark and are not independent of it. WER: recognition WER of the model; heads are evaluated on their own recognized text, mapped to the reference words. CI: page bootstrap of (10,000 resamples).
Sigla. The register often names persons by an initial (B. electo). A standoff layer proposes the full name without altering the recognized text: candidates come from the parenthesized expansions and names of the entry's regest and from its linked edition, ranked by initial, person context (a following title or office), and the words shared with the line around the initial. Where the register writes a person's name in full and the recognizer reads it, masking the name to its initial and resolving it gives a candidate for 70% of the 66 names, and the first candidate is the written form for 13 of these 46 (28%, 95% Wilson CI 17–43%; 36% when the entry is known). On the transcribed sides, 52% of the 607 sigla in the recognized lines receive a candidate, and on fol. 204–287 83% of 454, with several candidates for 64%. The layer is therefore a candidate list for expert review, not an automatic resolution.
8 Discussion
Nineteenth-century scholarship and HTR divide the work across three tiers. At the orthographic tier (RQ1), forced alignment places legacy text correctly, and curial projection removes the editorial spelling of the classicizing editions: raw editions are at best neutral for an adapted recognizer and harmful without replay, whereas projection and replay of modern source lines turn the same editions into zero-label adaptation targets (−1.50 WER points pooled over all year-2 sides, 33% of the oracle gap, given some forty edited folios). The year-2 experiment measures a change of spelling at the year split, attributable to the scribe or the transcriber, and a change of hand only on fol. 191–203 (the visual boundary lies at fol. 191r); the gain for a different scribe remains to be confirmed on the later registers. Legacy text cannot replace modern transcription as primary training data (20.1% against 14.5% WER with as many modern lines), but it can audit it: where the projected edition and an independent reading agree against the transcription, 88% of the decidable corrections in a judged sample hold. At the lexical tier (RQ2), the corpus-wide legacy lexicon covers 82.2% of the OOV words of unedited entries and identifies recognition errors with 66.7% precision, enough to send 1.2% of the words to review at 93.0% precision; pre-trained medieval NER models, distilled into the recognizer's head, match the best post-hoc tagger on an expert-validated benchmark (82.1% against 81.7% ), and the regests propose expansions for initials as a review layer. At the topological tier (RQ3), where full texts are absent, Pressutti's regests, the closing datum clauses, and the chancery's Roman dates segment the recognized line stream into entries (73.9% of starts; the misses lie in regest parsing and folio reconciliation, not in the OCR of the regests), and edition agreement calibrates aggregate recognition error beyond the transcribed folios (7.80% estimated CER). For the later registers this suggests a workflow: train on modern transcriptions, adapt to each new register with projected legacy lines, route flagged words to expert review, and cut the output into entries with the regesta and their dates.
Limitations
All measurements come from one register volume. The year-2 test set has 13 pages, and the transfer gain varies by about a point across training seeds; the cross-validated estimate over all 134 year-2 sides is half the 13-page gain, and its folds adapt on only two-thirds of the legacy lines. The nineteenth-century texts cover about half of the transcribed entries, and their coverage beyond fol. 203 is not known in advance. Linking and alignment depend on the OCR of the Internet Archive scans, which we did not correct. The NER gold benchmark starts from two pre-trained models: the expert checked every disagreement but only samples of the agreements, so the unchecked agreed words keep an estimated error of 11%, concentrated in capitalized words that both models leave untagged; its conventions (saints, feasts, and ethnonyms are not entities) are choices that another annotator might set differently, and the legacy lexicon includes the OCR errors of its sources. The year-1/year-2 split confounds hand and transcriber. The change-point analysis places the visual change of hand before fol. 191r, inside year 2, whereas the spelling of the readings changes at the year split; the transfer experiment therefore measures a change of spelling, attributable to the scribe or to the transcriber, and a change of hand only for fol. 191–203. Split by segment, the cross-validated gain of the legacy lines is the same on both (Section 5), so it does not depend on the change of hand. The encoder embeddings are trained for recognition, not writer identification, so two scribes of the same chancery school may be visually indistinguishable to them. These boundaries are statistical and await a palaeographic check.
Author Contributions
Tamás Kovács: Conceptualization, Methodology, Software, Validation, Formal analysis, Investigation, Data curation, Visualization, Writing – original draft, Writing – review & editing.
Daniel Luger: Resources, Data curation, Writing – review & editing.
Reproducibility
Code, parsed Pressutti indices, orthographic projection scripts, and the metrics behind every table are available from the authors; the manuscript images are subject to the rights of the Vatican Apostolic Archive.
References
Serena Ammirati, Marco Maiorino, and Paolo Merialdo. 2023. I registri di Onorio III. Il progetto In Codice Ratio e la sua applicazione ai registri papali. In Andrea Sommerlechner and Herwig Weigl, editors, Innocenz III., Honorius III. und ihre Briefe. Die Edition der päpstlichen Kanzleiregister im Kontext der Geschichtsforschung, pages 243–252. Böhlau.
Théodore Bluche, Sébastien Hamel, Christopher Kermorvant, Joan Puigcerver, Dominique Stutzmann, Alejandro H. Toselli, and Enrique Vidal. 2017. Preparatory KWS experiments for large-scale indexing of a vast medieval manuscript collection in the HIMANIS project. In 2017 14th IAPR International Conference on Document Analysis and Recognition (ICDAR), pages 311–316. IEEE.
César Auguste Horoy, editor. 1879–1882. Honorii III Romani Pontificis Opera Omnia, volume 1–4 of Medii aevi biblioteca patristica, ab anno MCCXVI usque ad concilii Tridentini tempora. Imprimerie de la Bibliothèque ecclesiastique, Paris.
Tamás Kovács, Giuseppe Consolo, and Georg Vogeler. 2026. Twenty's plenty: Semantic scaffolding and span architecture for 19-label NER in medieval Latin charters. In Proceedings of the 6th International Conference on Natural Language Processing for the Digital Humanities (NLP4DH 2026), pages 236–241. Association for Computational Linguistics.
Tamás Kovács and Daniel Luger. 2026. Reading the registers of Honorius III without manual line transcription: Forced-aligned HTR, end to end, modular or hybrid. Preprint, arXiv:2610.35085.
Elena Nieddu, Donatella Firmani, Paolo Merialdo, and Marco Maiorino. 2021. In codice ratio: A crowd-enabled solution for low resource machine transcription of the Vatican Registers. Information Processing & Management, 58(5):102606.
Pietro Pressutti. 1888. Regesta Honorii Papae III, volume 1. Typographia Vaticana, Rome. Internet Archive: https://archive.org/details/RegestaHonoriiPapaeIII.
Pietro Pressutti. 1895. Regesta Honorii Papae III, volume 2. Typographia Vaticana, Rome. Internet Archive: https://archive.org/details/RegestaHonoriiPapaeIIIIvssvEtMvnif.
Odorico Raynaldi. 1864–1883. Annales ecclesiastici, ed. A. Theiner, volume 20–21. Guérin, Bar-le-Duc and Paris. Baronius–Theiner edition, vols. 20–21; Internet Archive: https://archive.org/details/annalesecclesias20barouoft, https://archive.org/details/annalesecclesias21barouoft.
Carl Rodenberg, editor. 1883. Epistolae saeculi XIII e regestis pontificum Romanorum selectae, volume 1 of Monumenta Germaniae Historica. Weidmann, Berlin.
Dominique Stutzmann, Jean-François Moufflet, and Sébastien Hamel. 2017. La recherche en plein texte dans les sources manuscrites médiévales – enjeux et perspectives du projet HIMANIS pour l'édition électronique. Médieux, 73:67–96.
Augustin Theiner, editor. 1859–1860. Vetera monumenta historica Hungariam sacram illustrantia. Typis Vaticanis, Rome.
Augustin Theiner, editor. 1860. Vetera monumenta Poloniae et Lithuaniae gentiumque finitimarum historiam illustrantia, volume 1. Typis Vaticanis, Rome.
Augustin Theiner, editor. 1861. Codex diplomaticus dominii temporalis S. Sedis, volume 1. Imprimerie du Vatican, Rome.
Augustin Theiner, editor. 1863. Vetera monumenta Slavorum meridionalium historiam illustrantia, volume 1. Typis Vaticanis, Rome.
Augustin Theiner, editor. 1864. Vetera monumenta Hibernorum et Scotorum historiam illustrantia. Typis Vaticanis, Rome.
Sergio Torres Aguilar. 2022. Multilingual named entity recognition for medieval charters using stacked embeddings and BERT-based models. In Proceedings of the Second Workshop on Language Technologies for Historical and Ancient Languages (LT4HALA 2022), pages 119–128.
Sergio Torres Aguilar and Vincent Jolivet. 2023. Handwritten text recognition for documentary medieval manuscripts. Journal of Data Mining & Digital Humanities. Special issue: Historical Documents and Automatic Text Recognition.