aboutsummaryrefslogtreecommitdiff
path: root/lib/kernel/lang.mli
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 14:54:01 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 14:54:01 +0200
commita4eb9ed3cd93cbac493a873991dd5817906aad56 (patch)
tree02e25a7345d7a37c63e058f2abe80caaf2a7ae20 /lib/kernel/lang.mli
parent405910d2fd245e7a11e09eecb8c6fffb68d2169c (diff)
downloadcolitur-a4eb9ed3cd93cbac493a873991dd5817906aad56.tar.gz
colitur-a4eb9ed3cd93cbac493a873991dd5817906aad56.zip
fix(citation): survey all three citation-bearing files, not just the lectionary
The book table was built against data/ef/lectionary.sexp alone. That undercounts: sanctoral.sexp carries more citations than the lectionary and, together with commons.sexp, cites 21 book tokens the table was missing entirely (62 distinct tokens across all three files, not 42), several of them common (2 Tim appears 8+ times). Add the missing spellings to existing ids (2 Cor, Col., Exod, Ezek, James, Sir, Eccli) and ten new ids for books not cited before (1-2 Timothy, 2 Peter, Apocalypse, Judith, Malachi, Proverbs, Song of Songs, Tobit, Wisdom). Sir and Rev are modern spellings sitting inside Vulgate data, so both resolve to their Vulgate ids (ecclesiasticus, apocalypse) rather than to the sirach/revelation tradition targets -- mapping them to a second id would double-map the same book. Add a duplicate-spelling invariant test (List.assoc_opt would silently prefer the first match on a collision) and a test that re-derives the token set from all three data files at test time and asserts every token resolves, rather than trusting a survey performed once by hand.
Diffstat (limited to 'lib/kernel/lang.mli')
0 files changed, 0 insertions, 0 deletions