Kandil7 commited on
Commit
bf21ef4
·
verified ·
1 Parent(s): aa99265

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +42 -8
README.md CHANGED
@@ -363,16 +363,50 @@ print(result.citations[0].metadata['hadith_grade'])
363
 
364
  ---
365
 
366
- ## 📖 Source
367
 
368
- The dataset is derived from the **Shamela Library** — a comprehensive digital library of Islamic texts containing 8,425 books across 41 categories spanning 1,400 years of Islamic scholarship.
369
 
370
- **Processing Pipeline:**
371
- 1. Extracted 8,425 books from Shamela format
372
- 2. Split into pages and passages
373
- 3. Enriched with metadata (author, death year, chapter, section)
374
- 4. Mapped to 10 scholarly collections
375
- 5. Added hadith chain (esnad) data where available
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
376
 
377
  ---
378
 
 
363
 
364
  ---
365
 
366
+ ## 📖 Source: ElShamela Library (المكتبة الشاملة)
367
 
368
+ This dataset is derived from **ElShamela Library** (المكتبة الشاملة) the largest comprehensive digital library of Islamic texts, containing **8,425 books** across **41 categories** spanning **1,400 years of Islamic scholarship**.
369
 
370
+ ### About ElShamela Library
371
+
372
+ **ElShamela** (المكتبة الشاملة) is a free, open-access digital library that has been digitizing and preserving classical Islamic texts for over two decades. It is widely considered the most comprehensive collection of Islamic heritage works, including:
373
+
374
+ - **Quran and Tafsir** Complete Quran text with major classical commentaries
375
+ - **Hadith Collections** — Six canonical hadith books (Kutub al-Sittah) plus Musnad works
376
+ - **Fiqh** — Jurisprudence from all four major Sunni schools (Hanafi, Maliki, Shafi'i, Hanbali)
377
+ - **Aqeedah** — Islamic theology and creed from various schools
378
+ - **Seerah** — Prophet Muhammad's ﷺ biography
379
+ - **Arabic Language** — Grammar, linguistics, rhetoric, and lexicons
380
+ - **Islamic History** — Historical accounts from the Prophetic era through the Ottoman period
381
+ - **Spirituality** — Tasawwuf, ethics, and purification of the heart
382
+ - **Usul Fiqh** — Principles of Islamic jurisprudence and legal theory
383
+
384
+ **Website:** https://shamela.ws/
385
+
386
+ ### Processing Pipeline
387
+
388
+ 1. **Extracted** 8,425 books from ElShamela Library format
389
+ 2. **Converted** from proprietary Shamela format to plain text
390
+ 3. **Split** into pages and passages for granular retrieval
391
+ 4. **Enriched** with metadata:
392
+ - Author names and death years (Hijri calendar)
393
+ - Book titles and categories
394
+ - Chapter and section headings
395
+ - Page numbers
396
+ 5. **Organized** into 10 scholarly collections based on subject matter
397
+ 6. **Added** hadith chain (esnad) data where available
398
+ 7. **Compressed** with gzip for efficient storage and transfer
399
+
400
+ ### ElShamela Statistics
401
+
402
+ | Metric | Value |
403
+ |--------|-------|
404
+ | Total Books | 8,425 |
405
+ | Total Categories | 41 |
406
+ | Total Authors | 3,146 |
407
+ | Time Span | 0-1400+ AH (7th-21st century CE) |
408
+ | Original Size | 17.16 GB (extracted text) |
409
+ | Languages | Classical Arabic (primary) |
410
 
411
  ---
412