Quran Pattern Labمختبر الأنماط القرآنيةResearch Preview v0.1

Cross-check against QuranStatistics

Representative cross-check coverage, not exhaustive. The program is run locally from a hash-verified copy; numbers come from its official table export, never from OCR. The program itself is not redistributed here.

إحصاء القرآن — Quran Statistics · 4.8 (FileVersion 4.8.0.0, OriginalFilename QS_V4.8, About dated 2026/01/28) · SHA-256 c1b1370e2ff845bd… · not code-signed

Simple script (35 queries)

28
match
3
explained difference
0
unexplained difference
4
not supported by the engine
roots and parts of speech
90.3%
exact-match rate of comparable
IdQueryPurposeProgramEngineStatus
A01الصمدterm with a single known occurrence11MATCH
A02اللهcommon exact word (whole token, no clitics)2,1532,153MATCH
A03الحمد للهmulti-word phrase2121MATCH
A04قرطاسيةquery that must return zero results00MATCH
B01اللهsubstring matching (any token containing الله)2,5552,555MATCH
B02الرحمنexact word; basmala-sensitive4545MATCH
B03الرحيمexact word; basmala-sensitive3434MATCH
B04يومexact word (bare form)217217MATCH
B05شهرexact word (bare form)44MATCH
B06الدنياexact word115115MATCH
B07الآخرةexact word with madda alif7171MATCH
B08aأرضhamza/alif: unification OFF55MATCH
B08bارضhamza/alif: توحيد الألفات ON (أ إ آ ا treated alike)55MATCH
B09aعلىya/alif-maqsura: unification OFF670670MATCH
B09bعلىya/alif-maqsura: توحيد الياءات ON (على ≡ علي)686686MATCH
B10aرحمةta-marbuta/ha: unification OFF4034EXPLAINED
Explanation

different Quran edition / orthography: Tanzil's imla'i text keeps the open-ta spelling رحمت in 7 places (e.g. رحمت الله 2:218, 7:56, 11:73, 30:50; رحمت ربك 19:2, 43:32); the program's imla'i text writes رحمة there. The program search for رحمت returns 0 (diagnostic X-rahmat). Counting رحمت as رحمة in the engine reproduces the program verse-for-verse.

B10bرحمةta-marbuta/ha: توحيد الهاءات ON (رحمة ≡ رحمه)4135EXPLAINED
Explanation

different Quran edition / orthography: Same as B10a with توحيد الهاءات ON (رحمة ≡ رحمه): the program additionally matches رحمه; the extra 6 verses are the رحمت places.

B11aواللهconjunction waw attached (default)240240MATCH
B11bاللهconjunction waw separated (فصل الواو toggled): الله should also count والله2,3932,393MATCH
B12aمَلِكِwith diacritics: exact diacritized match (مطابق) on the diacritized imla'i text11MATCH
B12bملكwithout diacritics: same root form, undiacritized text3131MATCH
C01اللهone selected surah (112, al-Ikhlas)22MATCH
C02اللهone selected verse (2:255)11MATCH
C03الدنياfirst and last occurrence (verse keys)115115MATCH
C04الدنياsurah/verse distribution (full per-verse vector)115115MATCH
D01رحمroot query (program root dataset)339—NOT SUPPORTED
Explanation

engine-capability: The engine has no morphology (root/lemma) source yet; roots are deferred to a separately versioned morphology release.

D02الأعلامnoun category: proper nouns3,676—NOT SUPPORTED
Explanation

engine-capability: No part-of-speech annotation in the engine.

D03أفعال الأمرverb category: imperatives1,869—NOT SUPPORTED
Explanation

engine-capability: No part-of-speech annotation in the engine.

D04حرف الجرparticle category: prepositions13,311—NOT SUPPORTED
Explanation

engine-capability: No part-of-speech annotation in the engine.

E01قa normal letter, whole Quran (Uthmani text)7,0347,034MATCH
E02بِdiacritic-sensitive: ba with kasra, exact diacritics (مطابق), diacritized imla'i text4,0854,012EXPLAINED
Explanation

occurrence-vs-token counting + idgham shadda convention (orthography): (1) Counting unit: the program counts every occurrence of بِ inside a word (e.g. بِبَابِلَ = 2) while the declared engine rule counts matching tokens; counting occurrences reproduces 67 of the 72 differing verses. (2) The remaining 5 verses (2:60, 7:160, 26:63, 27:28, 38:44) are idgham positions (اضْرِب بِّعَصَاكَ / اذْهَب بِّكِتَابِي / فَاضْرِب بِّهِ): Tanzil writes the idgham shadda on the second ba (بِّ), the program's own exported verse text writes اضْرِبْ بِعَصَاكَ / اذْهَبْ بِكِتَابِي without it, so its بِ matches there.

E03قmuqatta'at letter in its surah (Qaf, 50), Uthmani text5757MATCH
BAS1اللهbasmala INCLUDED (إضافة البسملة إلى بداية السور ON); compare with A022,2652,265MATCH
BAS2الرحمنbasmala INCLUDED; compare with B02157157MATCH
BAS3الرحيمbasmala INCLUDED; compare with B03146146MATCH

Uthmani matrix (85 queries)

Raw Uthmani, normalized Uthmani and Simple are scored separately and never merged.

ModeTestsMatchExplainedUnexplainedMatch rate
Raw Uthmani — exact token17413023.5%
Raw Uthmani — substring17413023.5%
Normalized Uthmani (all modes)34628017.7%
Normalized Uthmani — no harakat17215011.8%
Normalized Uthmani — reduced marks17413023.5%
Simple script (control)171700100.0%

Classes of explained differences

All 85 queries
IdItemModeEnteredEngineProgramStatus
U01-AاللهA uthmaniٱللَّهِ8280EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U01-BاللهB uthmaniٱللَّهِ9780EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U01-CاللهC uthmaniٱلله2,1530EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U01-DاللهD uthmaniٱلله2,1530EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U01-EاللهE simpleالله2,1532,153MATCH
U02-AالرحمنA uthmaniٱلرَّحْمَٰنِ210EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U02-BالرحمنB uthmaniٱلرَّحْمَٰنِ240EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U02-CالرحمنC uthmaniٱلرحمٰن450EXPLAINED
encoding: program text/matching = qs-uthmani-plain-emulation-v1 (alef wasla as U+0627 plus the transforms of that profile)
U02-DالرحمنD uthmaniٱلرحمن450EXPLAINED
encoding: program text/matching = qs-uthmani-keep-dagger-emulation-v1 (alef wasla as U+0627 plus the transforms of that profile)
U02-EالرحمنE simpleالرحمن4545MATCH
U03-AالرحيمA uthmaniٱلرَّحِيمِ60EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U03-BالرحيمB uthmaniٱلرَّحِيمِ60EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U03-CالرحيمC uthmaniٱلرحيم340EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U03-DالرحيمD uthmaniٱلرحيم340EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U03-EالرحيمE simpleالرحيم3434MATCH
U04-AالعالمينA uthmaniٱلْعَٰلَمِينَ610EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U04-BالعالمينB uthmaniٱلْعَٰلَمِينَ610EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U04-CالعالمينC uthmaniٱلعٰلمين610EXPLAINED
encoding: program text/matching = qs-uthmani-plain-emulation-v1 (alef wasla as U+0627 plus the transforms of that profile)
U04-DالعالمينD uthmaniٱلعلمين610EXPLAINED
encoding: program text/matching = qs-uthmani-keep-dagger-emulation-v1 (alef wasla as U+0627 plus the transforms of that profile)
U04-EالعالمينE simpleالعالمين6161MATCH
U05-AالصلاةA uthmaniٱلصَّلَوٰةَ470EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U05-BالصلاةB uthmaniٱلصَّلَوٰةَ470EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U05-CالصلاةC uthmaniٱلصلوٰة580EXPLAINED
encoding: program text/matching = qs-uthmani-plain-emulation-v1 (alef wasla as U+0627 plus the transforms of that profile)
U05-DالصلاةD uthmaniٱلصلوة580EXPLAINED
encoding: program text/matching = qs-uthmani-keep-dagger-emulation-v1 (alef wasla as U+0627 plus the transforms of that profile)
U05-EالصلاةE simpleالصلاة5858MATCH
U06-AالزكاةA uthmaniٱلزَّكَوٰةَ240EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U06-BالزكاةB uthmaniٱلزَّكَوٰةَ240EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U06-CالزكاةC uthmaniٱلزكوٰة260EXPLAINED
encoding: program text/matching = qs-uthmani-plain-emulation-v1 (alef wasla as U+0627 plus the transforms of that profile)
U06-DالزكاةD uthmaniٱلزكوة260EXPLAINED
encoding: program text/matching = qs-uthmani-keep-dagger-emulation-v1 (alef wasla as U+0627 plus the transforms of that profile)
U06-EالزكاةE simpleالزكاة2626MATCH
U07-AموسىA uthmaniمُوسَىٰٓ250EXPLAINED
encoding: program text/matching = qs-uthmani-text-emulation-v1
U07-BموسىB uthmaniمُوسَىٰٓ370EXPLAINED
encoding: program text/matching = qs-uthmani-text-emulation-v1
U07-CموسىC uthmaniموسىٰٓ270EXPLAINED
encoding: program text/matching = qs-uthmani-plain-emulation-v1
U07-DموسىD uthmaniموسى105105MATCH
U07-EموسىE simpleموسى129129MATCH
U08-AعيسىA uthmaniعِيسَى99MATCH
U08-BعيسىB uthmaniعِيسَى2525MATCH
U08-CعيسىC uthmaniعيسى912EXPLAINED
encoding: program text/matching = qs-uthmani-plain-emulation-v1
U08-DعيسىD uthmaniعيسى1212MATCH
U08-EعيسىE simpleعيسى1616MATCH
U09-AإبراهيمA uthmaniإِبْرَٰهِـۧمَ99MATCH
U09-BإبراهيمB uthmaniإِبْرَٰهِـۧمَ99MATCH
U09-CإبراهيمC uthmaniإبرٰهـۧم150EXPLAINED
encoding: program text/matching = qs-uthmani-plain-emulation-v2
U09-DإبراهيمD uthmaniإبرهم150EXPLAINED
encoding: program text/matching = qs-uthmani-keep-dagger-emulation-v1
U09-EإبراهيمE simpleإبراهيم6262MATCH
U10-AالقرآنA uthmaniٱلْقُرْءَانُ80EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U10-BالقرآنB uthmaniٱلْقُرْءَانُ80EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U10-CالقرآنC uthmaniٱلقرءان430EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U10-DالقرآنD uthmaniٱلقرءان430EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U10-EالقرآنE simpleالقرآن4343MATCH
U11-AيومA uthmaniيَوْمِ3131MATCH
U11-BيومB uthmaniيَوْمِ7373MATCH
U11-CيومC uthmaniيوم217217MATCH
U11-DيومD uthmaniيوم217217MATCH
U11-EيومE simpleيوم217217MATCH
U12-AالدنياA uthmaniٱلدُّنْيَا1100EXPLAINED
encoding: program text/matching = qs-uthmani-text-emulation-v1 (alef wasla as U+0627 plus the transforms of that profile)
U12-BالدنياB uthmaniٱلدُّنْيَا1150EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U12-CالدنياC uthmaniٱلدنيا1100EXPLAINED
encoding: program text/matching = qs-uthmani-plain-emulation-v1 (alef wasla as U+0627 plus the transforms of that profile)
U12-DالدنياD uthmaniٱلدنيا1150EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U12-EالدنياE simpleالدنيا115115MATCH
U13-AالآخرةA uthmaniٱلْـَٔاخِرَةُ50EXPLAINED
encoding: program text/matching = qs-uthmani-text-emulation-v2 (alef wasla as U+0627 plus the transforms of that profile)
U13-BالآخرةB uthmaniٱلْـَٔاخِرَةُ80EXPLAINED
encoding: program text/matching = qs-uthmani-text-emulation-v2 (alef wasla as U+0627 plus the transforms of that profile)
U13-CالآخرةC uthmaniٱلـٔاخرة710EXPLAINED
encoding: program text/matching = qs-uthmani-plain-emulation-v2 (alef wasla as U+0627 plus the transforms of that profile)
U13-DالآخرةD uthmaniٱلاخرة710EXPLAINED
encoding: program text/matching = qs-uthmani-keep-dagger-emulation-v2 (alef wasla as U+0627 plus the transforms of that profile)
U13-EالآخرةE simpleالآخرة7171MATCH
U14-AالمؤمنينA uthmaniٱلْمُؤْمِنِينَ780EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U14-BالمؤمنينB uthmaniٱلْمُؤْمِنِينَ860EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U14-CالمؤمنينC uthmaniٱلمؤمنين780EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U14-DالمؤمنينD uthmaniٱلمؤمنين780EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U14-EالمؤمنينE simpleالمؤمنين7878MATCH
U15-AواللهA uthmaniوَٱللَّهُ2390EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U15-BواللهB uthmaniوَٱللَّهُ2390EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U15-CواللهC uthmaniوٱلله2400EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U15-DواللهD uthmaniوٱلله2400EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U15-EواللهE simpleوالله240240MATCH
U16-AالصمدA uthmaniٱلصَّمَدُ10EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U16-BالصمدB uthmaniٱلصَّمَدُ10EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U16-CالصمدC uthmaniٱلصمد10EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U16-DالصمدD uthmaniٱلصمد10EXPLAINED
encoding: alef wasla (Tanzil U+0671 vs program U+0627)
U16-EالصمدE simpleالصمد11MATCH
U17-AقرطاسيةA uthmaniٱلقرطاسية00MATCH
U17-BقرطاسيةB uthmaniٱلقرطاسية00MATCH
U17-CقرطاسيةC uthmaniٱلقرطاسية00MATCH
U17-DقرطاسيةD uthmaniٱلقرطاسية00MATCH
U17-EقرطاسيةE simpleقرطاسية00MATCH