Divine Discourses

Toward direct engagement with the Qur'an

Datasets — take the data, check the work

Every number on this site is computed from data that ships with the site. This page documents each dataset for reuse: what it contains, the script that generates it, its license, and a direct download.

Regeneration is deterministic: run any listed script twice and the output is byte-identical. The full pipeline and every generator live in the public repository (directory datasets are easiest to grab there — clone or use the per-directory links below). Licensing in one line: data derived from the Leeds corpus is GPL; the Mishkat cross-references are license-pending (credited, removed on request); site code is MIT. Details in NOTICE.md.

Corpus foundation

data/morphology/{1..114}.json

Word-by-word morphology for all 77,429 tokens: per verse, an array of words, each {w, ar, root, lemma, pos, gloss} (word index, Uthmani surface form, Buckwalter root, Buckwalter lemma, part-of-speech tag; gloss empty pending a licensed dataset).

Derived from Leeds Quranic Arabic Corpus v0.4 · GPL · generator scripts/build-leeds.js · sample (surah 1) · full directory

data/roots-summary.json · data/roots-index.json · data/roots-list.json

The 1,642 roots: per root, Arabic and Latin display forms, total counts, per-chronology-period counts, first/last occurrence, and surface-form inventories.

GPL (Leeds-derived) · generators build-roots-index.py, build-roots-list.mjs · roots-summary · roots-index · roots-list

data/word-index.json

Per-lemma index: Arabic form, root, POS, corpus frequency, and every verse reference.

GPL · generator build-word-index.mjs · download

Per-root analytics

data/root-analytics/{root}.json × 1,642

Per root: total and Makki/Madani occurrence counts, per-surah distribution, surface-form inventory (derivedForms), derivational lemmaFamilies grouped by (lemma, POS), top co-occurring roots, and the full verse list.

GPL · generator build-root-analytics.mjs · sample (r-ḥ-m) · full directory

data/cooccurrence/{root}.json × 1,642

Verse-level co-occurrence per root: top partner roots overall and broken out by the four traditional revelation periods (byChronologyCoRoots), with the shared-verse counts.

GPL · generator build-cooccurrence.mjs · sample (r-ḥ-m) · full directory

Structure, sound, and phrase recurrence

data/formulas-root.json · data/formulas-surface.json

Every 3/4/5-token sequence recurring 2+ times corpus-wide, with all verse locations — root-sequence and surface-form streams (each catches phrases the other cannot). Browsable on Formulas.

GPL · generator build-formulas.mjs · root stream · surface stream

data/rhyme/{1..114}.json · data/rhyme-summary.json

Verse-ending (fāṣila) analysis per surah: each verse's final word reduced to an approximate pausal form, rhyme families under a fine and a coarse ending key, shift points, and refrains. An orthographic proxy, not a phonological transcription — the method note inside each file states the limits. ~

GPL · generator build-rhyme-map.mjs · sample (surah 91) · summary · full directory

data/rhetorical-features.json · data/discursive-pivots.json · data/symmetry-test.json

Direct-address formula locations and muqaṭṭaʿāt letters; verse-initial temporal-marker boundaries with lexical continuity; and a significance-tested (and honestly null) rare-root symmetry check — including its full statistical method.

GPL · generators build-rhetorical-features.mjs, build-discursive-pivots.mjs, build-symmetry-test.mjs · rhetorical-features · discursive-pivots · symmetry-test

Surah metadata and cross-references

data/surah-profiles.json · data/surah-meta.json · data/surah-names.json · data/chronology.json · data/juz.json

Per-surah corpus fingerprints (length, vocabulary spread, grammatical texture, cross-reference reach), Makki/Madani classification, display names, the Cairo 1924 revelation order with four-period classification, and juz boundaries.

GPL (profiles) / public-domain reference (chronology) / API-sourced factual metadata (surah-meta) · generators build-surah-profiles.mjs, build-surah-meta.mjs, build-juz.mjs · profiles · chronology · juz

data/qursim/{surah}.json × 110

Verse-to-verse cross-references from the Mishkat Mutashābihāt corpus (13 classical books; 1,905 verse nodes, 3,294 directed edges; the directory keeps its historical name). Four surahs (104, 105, 106, 110) are outside its coverage.

License pending — the source repository publishes no license; the compiler is credited and the data will be removed if the rights holder objects · sample (surah 2) · full directory

data/numbers.json · data/themes.json · data/sources.json

Corpus-wide statistics behind the Numbers page (hapax counts, verse-length distribution, vocabulary growth); the theme-to-root mappings (editorial groupings — the labels are choices, the counts are computed); and the machine-readable bibliography that every verification badge resolves against. ~

GPL (numbers, themes data content) / MIT (sources.json) · generators build-numbers.mjs, build-themes.mjs · numbers · themes · sources

If you build something on this data — a replication, a correction, a better method — the contribution guide explains how to send it back, and Validation documents how claims earn their labels here.