Read by Lamplight — the texts and the counts https://readbylamplight.com/data/ This file is written by content/build-downloads.mjs when the site is built. Every number in it is a count from that run. Nothing in it is typed by hand. THE WORKS 55 works. 7,428,447 words in the library count. 7,433,459 words in these files, which also keep a preface when the source has one. Each work is two files, named from its address on the site: /data/matthew.txt and /data/matthew.json /data/fathers/cyril-on-luke.txt and the JSON beside it The plain text begins with the catalogue fields that exist — title, author when the catalogue names one, translator, year, source, shelf — and then one block per section: [id] label text The JSON is one object. Its fields: title, translator, year, source, href, shelf Copied from content/catalog.mjs. author is omitted when the catalogue has no author (the scripture rows use an em dash). catalogFile The file the library's word count reads. servedFrom The file or files the reader pages are set from. Where that is not the catalogue file, the wordNote says which, and both counts. words Whitespace-delimited tokens of the section text in this file. catalogWords wordsIn() of the catalogue file, which is the number on /library/. license https://creativecommons.org/publicdomain/mark/1.0/ The mark already on every book page. It applies to the translation. anchors The scheme below, so a single file still explains itself. anchorsOnPage verse, section, or none — which of these ids the reader page carries. sections[] id, kind, part, label, text, url, onPage kind is one of: verse, paragraph, line, quotation, entry, clause, preface section, paragraph, group, who, ref, pageNote are present only when the source has something to put there. onPage is true only when the reader page has this id. url is a link that resolves: the id when it is on the page, otherwise the section if the page has the section id, otherwise the page. WORDS count-text.mjs counts only these keys: paras, groups, tercets, secs, says, verses, t, text, books. A preface is included when the source file has one, and it is outside that count. A gap or a missingNote stored on a book is copied as omissions and is not added to the word count. Arguments, titles, headings and footnotes are not among the keys. 49 works match the library's count. The others carry a wordNote: Homilies on the First Epistle of John This file includes the preface printed on the title page (1,017 words). The library count does not: wordsIn does not walk a preface. The counted text is 57,639 words. The Soliloquies This file includes the preface printed on the title page (487 words). The library count does not: wordsIn does not walk a preface. The counted text is 22,457 words. The City of God This file includes the preface printed on the title page (3,237 words). The library count does not: wordsIn does not walk a preface. The counted text is 423,395 words. The Meditations The library counts med-books.json (49,157 words). Book One on the site is med-book1.json (2,815 words). build-med.mjs records that footnote marks are stripped there, and that Long's bracketed additions are kept. Book One inside med-books.json is 2,915 words. Books II–XII in this file are med-books.json. This file is the text the pages are set from: 49,057 words. The History of Rome The library counts livy-books.json (222,555 words), including Book One. The site sets Book One from livy-text.json (29,305 words) and Books II–VIII from livy-books.json, which starts them at book 2. Book One inside livy-books.json is 29,305 words. This file is the text the pages are set from: 222,555 words. An Essay on the Development of Christian Doctrine This file includes the preface printed on the title page (371 words). The library count does not: wordsIn does not walk a preface. The counted text is 129,073 words. ANCHORS An anchor is a book, chapter or section number, not a position in the file, so fixing a paragraph elsewhere does not move it. vN is a verse. hN is the second half of Vulgate Psalm 9, where the source sets h and the numbers restart. sN is a section. When that number is used again on the same page, the later ones are sN-2, sN-3, in file order. A lesson printed before a homily is sNr, which is the id on the page. sNpK is paragraph K of that section. sNpKlM is line M of that paragraph, where the section is verse. A stage direction in brackets stays one paragraph. pK is a paragraph of a page that is itself the section, as Livy Book One is. qK is a quotation in a catena, in the order of the file. who and ref are copied when the file has them. ref is the attribution printed there, not a verse. lN is a line counted from the start of that book or canto. The poems do not print a marginal number, so this is a count of lines in the file. gN is a stanza in that book. tN is a tercet in that canto. eN is an entry of Meditations, Book One. A long entry is the list the page makes by splitting at "; ", and eNiK is clause K. The entry's anchor is the group. url includes a hash only when this build's reader page has that id. Verses and sections do. Paragraphs, lines, tercets, quotations and entries do not, so those links open the page. A line number is a count of lines in that book or canto of this text. It is not a number printed in the margin. The poems do not print one. NAMES names.json and names.csv. 72 names, 50,179 matches. The patterns are NAMES in content/name-index.mjs. The regex and the words it is described as are both in the file. The count is every match in every row of every search-index.json, of every kind of row, because that is what /names/ counts. A translator's argument is included where the index has one. Each total was compared with the sentence "named N times" on /names//. The build stops if they differ. The CSV is one row per name, per book, per chapter (the leaf). times is the number of matches on that leaf. Summing times for one name gives the total. Summing across names does not give a count of passages: one sentence can match two patterns, and one chapter is one row however many matches it holds. who is the one-line note already printed on the name's page. It is not a new claim. TOPICS topics.json and topics.csv. 20 topics, 141 passages. Chosen by hand in content/topics.mjs. chosenByHand is true and counted is false: nothing was found by searching. The build reads the words from the search indexes (kind v or c, the translated text or a commentary's own words) and stops if an address does not resolve. A section longer than 500 characters has to name find, the words where the topic is treated. The excerpt starts there. It keeps the whole remainder when that is within 420 characters, and otherwise cuts at the last sentence end after 200 characters inside that window. That is the cut on /topics/. The CSV has the address, the link and the note. The excerpt is in the JSON. written is the catalogue's composition span, and approx is present when the catalogue marks it as an estimate. writtenFrom is the first year of that span, which is the order /topics/ sorts by. Years before the common era are negative, as the catalogue stores them. SHARED PASSAGES passages.json, passages.csv, passage-samples.csv. 128 pairs, from content/phrase-links.json dated 2026-10-26. runWords is 7. The shelf in that file has 59 searchable books. The measure, as build-phrases.mjs runs it: A run is 7 words of the translated text, or of a commentary's own words. Arguments, notes and this site's short lives are not in it. A run found in 2 to 15 books is kept. 15 is a quarter of the searchable books, rounded. A run found in more than 40 places is dropped before pairing. A kept passage needs 2 words that each occur in at most 20 books. Overlapping runs are merged into the longest passage. Livy is not paired with Livy's Book One, and the Meditations are not paired with Book One. They are the same work set a second way. passages is the number of distinct shared phrases between the two books. words is the sum of those phrases' lengths, each phrase once. longest is the longest of them. A pair keeps at most 6 samples. The samples CSV is those samples. It is not a second count, and summing it will not give passages. The measure cannot see a paraphrase, a different translator, or a different language. A pair is shared wording. It is not, by itself, evidence that one author read the other. LICENCE The texts are public domain. Each book page carries https://creativecommons.org/publicdomain/mark/1.0/ The counts, the notes and this packaging are the site's. llms.txt says they are free to quote with attribution to Read by Lamplight.