[Paper Review] Shamela: A Large-Scale Historical Arabic Corpus
This paper introduces Shamela, a 1-billion-word historical Arabic corpus spanning 1,400 years, constructed from the Al-Maktaba Al-Shamela digital library. The authors clean, lemmatize, and enhance the corpus with automatic text dating and parallel passage detection, enabling large-scale digital humanities and NLP research on Arabic language evolution, with key findings showing Arabic words have an average lifespan of 1,124 years—significantly longer than English words.
Arabic is a widely-spoken language with a rich and long history spanning more than fourteen centuries. Yet existing Arabic corpora largely focus on the modern period or lack sufficient diachronic information. We develop a large-scale, historical corpus of Arabic of about 1 billion words from diverse periods of time. We clean this corpus, process it with a morphological analyzer, and enhance it by detecting parallel passages and automatically dating undated texts. We demonstrate its utility with selected case-studies in which we show its application to the digital humanities.
Motivation & Objective
- To address the lack of large-scale, historically annotated Arabic corpora covering the full span of written Arabic.
- To enable corpus-driven historical linguistic analysis of Arabic across 14 centuries.
- To support digital humanities research on Arabic cultural and intellectual history.
- To improve NLP applications for historical Arabic texts through enhanced metadata and normalization.
- To develop scalable computational methods for text dating and parallel passage detection in low-resource historical languages.
Proposed method
- Extracted ~1 billion words from the Al-Maktaba Al-Shamela website, a large public archive of Arabic texts.
- Performed automated text cleaning and semi-automatic metadata enrichment, including chronological labeling.
- Applied a morphological analyzer to lemmatize all words, enabling semantic and syntactic analysis.
- Used language modeling to automatically date 1,200 undated texts with high accuracy.
- Implemented a computationally efficient algorithm to detect approximate parallel passages across the corpus, filtering out frequently recurring content.
- Validated results both quantitatively and qualitatively through case studies and concordance analysis.
Experimental results
Research questions
- RQ1How do word lifespans in Arabic compare to those in English over comparable historical spans?
- RQ2To what extent can automatic language modeling accurately date undated Arabic texts from different historical periods?
- RQ3What types of parallel passages exist in a large-scale historical Arabic corpus, and how do they reflect textual reuse or influence?
- RQ4Can the corpus support the detection of semantic shifts in Arabic vocabulary, such as the evolution of 'ḥawālay' from physical to numerical approximation?
- RQ5How can computational methods enhance historical corpora for digital humanities and NLP research in low-resource languages?
Key findings
- The average lifespan of an Arabic lemma is 1,124 years (standard deviation: 338 years, median: 1,222), representing about 83% of the total corpus time span.
- In contrast, the average English word lifespan in COHA is only 68 years (standard deviation: 58, median: 60), or about 36% of the corpus time span.
- The word 'ḥawālay' was used for physical proximity as early as 1201 CE, with its numerical approximation use already established in the medieval period, contradicting claims of modern innovation.
- The parallel passage detection algorithm identified over 5 million pairwise matches of passages longer than 20 words, after filtering out 18.6 million words of frequently recurring content.
- The automatic text dating model achieved high-quality results, validated both quantitatively and qualitatively, enabling improved temporal resolution of undated texts.
- The corpus is publicly available in the RAWrabica collection on GitHub, supporting reproducibility and further research.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.