MoMonir/shamela_books_text_full
Shamela_Books_Text_Full This dataset contains the full text content of Islamic Arabic books from the Shamela Library, organized by category, book, volume, and page, with footnotes stored separately. It is designed to support Arabic NLP, digital humanities, and bibliographic analysis. π This dataset is linked to the companion metadata dataset: π Shamela_Books_info via the book_id field. Update : The dataset includes the original raw files as well as a singleβ¦ See the full description on the dataset page: https://huggingface.co/datasets/MoMonir/shamela_books_text_full.
Shamela\Books\Text\_Full
This dataset contains the full text content of Islamic Arabic books from the Shamela Library, organized by category, book, volume, and page, with footnotes stored separately. It is designed to support Arabic NLP, digital humanities, and bibliographic analysis.
π This dataset is linked to the companion metadata dataset: π Shamela\_Books\_info via the book_id field.
Update :
The dataset includes the original raw files as well as a single merged file.
π Dataset Summary
- Total Categories: 40
- Total Books: 8,538
- Total Records (Pages): 7,552,019
- Granularity: Each row = a page of a book
- Footnotes: Stored in a separate column for clean processing
π Dataset Fields
π Link to Metadata
To access full author info, publishing details, and classification, use the book_id to join this dataset with: π Shamela\_Books\_info
# Example join (Pandas):
import pandas as pd
text_df = pd.read_csv('shamela_books_text_full.csv')
info_df = pd.read_csv('shamela_books_info.csv')
merged_df = text_df.merge(info_df, on='book_id')π Volume Numbering Reference
πΉ Main Content
π§ Usage Ideas
- Train/fine-tune Arabic language models
- Information retrieval / document segmentation
- Digital Islamic studies / literary analysis
- Linking text to authors, death years, categories, and editors
Acknowledgment and Gratitude
We extend our sincere gratitude to everyone behind the development of Ψ§ΩΩ ΩΨͺΨ¨Ψ© Ψ§ΩΨ΄Ψ§Ω ΩΨ© (shamela.ws), including the project maintainers, contributors, transcribers, supporters, and sponsors who have worked over many years to make this remarkable resource available. May Allah reward them abundantly and accept their efforts.
π Disclaimer
This dataset is based on exported data from Shamela Library software synced withShamela.ws in June 2025. Please note that the Shamela Library may add or remove entries at any time, and this dataset may not reflect future updates.
π Citation
If you use this dataset, please cite it as:
@dataset{shamela_books_text,
title = {Shamela Books Text},
author = {MoMonir},
year = {2025},
url = {https://huggingface.co/datasets/MoMonir/shamela_books_text}
}