Automatic Era Identification in Classical Arabic Poetry
Source abstract
Abstract
The authenticity of classical Arabic poetry has long been challenged by claims that some part of the pre-Islamic poetic heritage should not be attributed to this era. According to these assertions, some of this legacy was produced after the advent of Islam and ascribed, for different reasons, to pre-Islamic poets. As pre-Islamic poets were illiterate, medieval Arabic literature devotees relied on Bedouin oral transmission when writing down and collecting the poems about two centuries later. This process left the identity of the real poets who composed these poems and the period in which they worked unresolved. In this work, we seek to answer the questions of how and to what extent we can identify the period in which classical Arabic poetry was composed, where we exploit modern-day automatic text processing techniques for this aim. We consider a dataset of Arabic poetry collected from the diwans (‘collections of poems’) of thirteen Arabic poets that corresponds to two main eras: the pre-ʿAbbāsid era (covering the period between the 6th and the 8th centuries CE) and the ʿAbbāsid era (starting in the year 750 CE). Some poems in each diwan are considered ‘original’; i.e., poems that are attributed to a certain poet with high confidence. The diwans also include, however, an additional section of poems that are attributed to a poet with reservations, meaning that these poems might have been composed by another poet and/or in another period. We trained a set of machine learning algorithms (classifiers) in order to explore the potential of machine learning techniques to automatically identify the period in which a poem had been written. In the training phase, we represent each poem using various types of features (characteristics) designed to capture lexical, topical, and stylistic aspects of this poetry. By training and assessing automatic models of period prediction using the ‘original’ poetry, we obtained highly encouraging results, measuring between 0.73–0.90 in terms of F1 for the various periods. Moreover, we observe that the stylistic features, which pertain to elements that characterize Arabic poetry, as well as the other feature types, are all indicative of the period in which the poem had been written. We applied the resulting prediction models to poems for which the authorship period is under dispute (‘attributed’) and got interesting results, suggesting that some of the poems may belong to different eras—an issue to be further examined by Arabic poetry researchers. The resulting prediction models may be applied to poems for which the authorship period is under dispute. We demonstrate this research direction, presenting some interesting anecdotal results.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Authorship Attribution and Profiling
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
The Department of Information Systems, University of Haifa, Haifa 3103301, Israel
The Department of Arabic Language and Literature, University of Haifa, Haifa 3103301, Israel
References (79)
Show source-provided references
1. The Origins of Arabic Poetry10.1017/S0035869X00054885 ↗
2. Multi-Class Adaboost10.4310/SII.2009.v2.n3.a8 ↗
3. Oral Composition in Pre-Islamic Poetry10.1163/157006472X00017 ↗
4. Ḥusayn, Ṭ. (1927). Fī l-šiʿr al-ğāhilī, Dār al-Kutub al-Miṣriyya. Available online: https://archive.org/details/ar102arab105.
5. Time and Reality in “Nasīb” and “Ghazal”10.1163/157006485X00013 ↗
6. Menzel, T. (1932). Der Islam und die Huḏailitendichtungen. Festschrift Georg Jacob zum Siebzigsten Geburtstag, 26 Mai 1932 Gewidmet von Freurden und Schülern, Otto Harrassowitz.
7. Naïve Bayes Classifiers for Authorship Attribution of Arabic texts
8. Ahmed, A.F., Mohamed, R., Mostafa, B., and Mohammed, A.S. (2015, January 20–21). Authorship Attribution in Arabic Poetry. Proceedings of the 2015 10th International Conference on Intelligent Systems: Theories and Applications (SITA), ENSIAS, Rabat, Morocco.10.1109/SITA.2015.7358411 ↗
9. Ahmed, A., Mohamed, R., and Mostafa, B. (2016, January 19–20). Authorship Attribution in Arabic Poetry Using NB, SVM, SMO. Proceedings of the 2016 11th International Conference on Intelligent Systems: Theories and Applications (SITA), Mohammedia, Morocco.10.1109/SITA.2016.7772287 ↗
10. Machine Learning for Authorship Attribution in Arabic poetry10.18178/ijfcc.2017.6.2.486 ↗
11. Orabi, M., El Rifai, H., and Elnagar, A. (2020, January 2–5). Classical Arabic Poetry: Classification Based on Era. Proceedings of the 2020 IEEE/ACS 17th International Conference on Computer Systems and Applications (AICCSA), Antalya, Turkey.10.1109/AICCSA50499.2020.9316520 ↗
12. Abbas, M., Lichouri, M., and Zeggada, A. (2019, January 9–13). Classification of Arabic Poems: From the 5th to the 15th Century. Proceedings of the International Conference on Image Analysis and Processing, Trento, Italy.10.1007/978-3-030-30754-7_18 ↗
13. Manning, C., and Schutze, H. (1999). Foundations of Statistical Natural Language Processing, MIT Press.
14. Zhao, Y., and Zobel, J. (February, January 30). Searching with Style: Authorship Attribution in Classic Literature. Proceedings of the ACM International Conference Proceeding Series, Ballarat, Australia.
15. Computational methods in Authorship attribution10.1002/asi.20961 ↗
16. Mosteller, F., and Wallace, D.L. (1964). Inference and Disputed Authorship: The Federalist, Springer.
17. Elayidom, M.S., Jose, C., Puthussery, A., and Sasi, N.K. (2013). Text Classification for Authorship Attribution Analysis. arXiv.
18. Argamon, S., and Levitan, S. (2005, January 15–18). Measuring the Usefulness of Function Words for Authorship Attribution. Proceedings of the 2005 ACH/ALLC Conference, Victoria, BC, Canada.
19. Authorship Attribution with Support Vector Machines10.1023/A:1023824908771 ↗
20. Vapnik, V.N. (1997, January 8–10). The support vector method. Proceedings of the 7th International Conference on Artificial Neural Networks, Lausanne, Switzerland.
21. Eggins, S. (2004). Introduction to Systemic Functional Linguistics, Continuum.
22. Stylistic Fingerprints, POS-tags, and Inflected Languages: A Case Study in Polish10.1080/09296174.2022.2122751 ↗
23. Probabilistic Topic Models
24. Authorship Attribution with Topic Models10.1162/COLI_a_00173 ↗
25. Schütze, H., Manning, C.D., and Raghavan, P. (2008). Introduction to Information Retrieval, Cambridge University Press.10.1017/CBO9780511809071 ↗
26. Kules, J. (2016). Complete Arabic Grammar, [2nd ed.]. Available online: https://www.slideshare.net/JackLKulesPhD/complete-arabic-grammar-2nd-ed.
27. Arabic Text Classification Using Maximum Entropy
28. Text Classification for Authorship Attribution Using Naive Bayes Classifier with Limited Training Data
29. Arabic Text Categorization: A Comparative Study of Different Representation Modes
30. Machine Learning for Arabic Text Categorization10.1002/asi.20360 ↗
31. Diehl, F., Gales, M.J., Tomalin, M., and Woodland, P.C. (2009, January 6–10). Morphological Analysis and Decomposition for Arabic Speech-to-Text Systems. Proceedings of the Tenth Annual Conference of the International Speech Communication Association, Brighton, UK.10.21437/Interspeech.2009-122 ↗
32. Habash, N., Owen, R., and Ryan, R. (2009, January 22–23). MADA+TOKAN: A Toolkit for Arabic Tokenization, Diacritization, Morphological Disambiguation, POS Tagging, Stemming and Lemmatization. Proceedings of the 2nd International Conference on Arabic Language Resources and Tools (MEDAR), Cairo, Egypt.
33. Automatic Identification of Rhetorical Elements in classical Arabic Poetry
34. Ouamour, S., and Sayoud, H. (2013, January 10–12). Authorship Attribution of Short Historical Arabic Texts Based on Lexical Features. Proceedings of the International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery, Beijing, China.10.1109/CyberC.2013.31 ↗
35. Alwajeeh, A., Al-Ayyoub, M., and Hmeidi, I. (2014, January 1–3). On Authorship Authentication of Arabic Aarticles. Proceedings of the 2014 5th International Conference on Information and Communication Systems (ICICS), Irbid, Jordan.10.1109/IACS.2014.6841973 ↗
36. Rababʿah, A., Al-Ayyoub, M., Jararweh, Y., and Aldwairi, M. (December, January 29). Authorship Attribution of Arabic Tweets. Proceedings of the 2016 IEEE/ACS 13th International Conference of Computer Systems and Applications (AICCSA), Agadir, Morocco.10.1109/AICCSA.2016.7945818 ↗
37. Emotion classification in Arabic poetry using machine learning
38. Versification and Authorship Attribution. A Pilot Study on Czech, German, Spanish, and English Poetry
39. Raza, A.A., Athar, A., and Nadeem, S. (2009, January 22–24). N-gram Based Authorship Attribution in Urdu Poetry. Proceedings of the Conference on Language & Technology, Lahore, Pakistan.
40. Sahin, D.O., Kural, O.E., Kilic, E., and Karabina, A. (2018). A Text Classification Application: Poet Detection from Poetry. arXiv.
41. Improving Authorship Attribution: Optimizing Burrows’ Delta Method10.1080/09296174.2011.533591 ↗
42. (1979). Ḥajar. Dīwān Aws b. Ḥajar, Dār Ṣādir. [3rd ed.].
43. A closer look at Arabic text classification
44. Antoun, W., Baly, F., and Hajj, H. (2020, January 11–16). AraBERT: Transformer-based Model for Arabic Language Understanding. Proceedings of the 4th Workshop on Open-Source Arabic Corpora and Processing Tools, with a Shared Task on Offensive Language Detection, Marseille, France.
45. Inoue, G., Alhafni, B., Baimukan, N., Bouamor, H., and Habash, N. (2021). The interplay of variant, size, and task type in Arabic pre-trained language models. arXiv.
46. Qarah, F. (2024). AraPoemBERT: A Pretrained Language Model for Arabic Poetry Analysis. arXiv.
47. ʿIlayyān Abū Suwaylim, A., and ʿAlī l-Šawābika, M. (2000). Dīwān Imriʾ al-Ḳays wa-mulḥaḳātuh bi-šarḥ Abī Saʿīd al-Sukkarī al-mutawaffā sanat 275 H, Markiz Zāyid li-l-Turāth wa-l-Tārīkh. Available online: https://archive.org/details/Emre2.
48. al-ʿAṭiyya, M. (1994). Dīwān al-Ḥārith b. Ḥilliza al-Yaškurī, Dār al-Imām al-Nawawī and Dār al-Hijra.
49. Amīn Ṭāha, N. Dīwān al-Ḥuṭayʾa bi-šarḥ Ibn al-Sikkīt wa-l-Sukkarī wa-l-Sijistānī, Maktabat wa-Maṭbaʿat Muṣṭafā l-Bābī l-Ḥalabī wa-Awlāduhu. Available online: https://archive.org/details/gamal_taha_hotmail_Pdf_201610.
50. Abū Suwaylim, A. (1988). Dīwān al-Ḫansāʾ Šaraḥahu Ṯaʿlab, Dār ʿAmmār.
51. Āl Yāsīn, M.Ḥ. (1998). Dīwān Abī l-Aswad al-Duʾalī, ṣanʿat Abī Saʿīd al-Ḥasan al-Sukkarī, Dār wa-maktabat al-Hilāl. [2nd ed.].
52. (1995). Dīwān al-ʿAğğāğ, riwāyat ʿAbs al-Malik Abbas b. Ḳurayb al-Aṣmaʿī, Dār al-Šarḳ al-ʿArabī.
53. Nabīl Ṭarīfī, M. (2000). Dīwān al-Kumayt b. Zayd al-Asadī, Dār Ṣādir.
54. Ğamīl Ḥaddād, Ḥ. (1982). Šiʿr Ibn Mayyāda, Maṭbūʿāt Mağmaʿ al-Lugha l-ʿArabiyya bi-Dimašḳ. Available online: https://noor-book.com/0qgwcb.
55. Nuwās, A. (1957). Dīwān Abī Nuwās, Dār Ṣādir.
56. l-Asmar, R. (1994). Sharḥ Dīwān Abī Tammām, al-Ḫaṭīb al-Tibrīzī, Dār al-Kitāb al-ʿArabī. [2nd ed.].
57. (1986). Dīwān Abī l-ʿAtāhiya, Dār Bayrūt li-l-Ṭibāʿa wa-l-Našr.
58. Al-Dahhān, S. (1944). Dīwān Abī Firās al-Ḥamdānī, Al-Maʿhad al-Faransī.
59. Monroe, W., Green, S., and Manning, C.D. (2014, January 23–24). Word segmentation of informal Arabic with domain adaptation. Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics, Baltimore, MD, USA.10.3115/v1/P14-2034 ↗
60. Automatically Profiling the Author of an Anonymous Text10.1145/1461928.1461959 ↗
61. Feature-Finding for Text Classification10.1093/llc/11.4.163 ↗
62. A survey of modern authorship attribution methods10.1002/asi.21001 ↗
63. Computer-based authorship attribution without lexical measures10.1023/A:1002681919510 ↗
64. A Framework for Authorship Identification of Online Messages: Writing-Style Features and Classification Techniques10.1002/asi.20316 ↗
65. Latent dirichlet allocation
66. McCallum, A.K. (2024, September 01). Mallet: A Machine Learning for Language Toolkit. Available online: http://mallet.cs.umass.edu.
67. Schwartz, H.A., Eichstaedt, J.C., Kern, M.L., Dziurzynski, L., Ramones, S.M., Agrawal, M., Shah, A., Kosinski, M., Stillwell, D., and Seligman, M.E. (2013). Personality, gender, and age in the language of social media: The open-vocabulary approach. PLoS ONE, 8.10.1371/journal.pone.0073791 ↗
68. An Extensive Empirical Study of Feature Selection Metrics for Text Classification
69. Houvardas, J., and Stamatatos, E. (2006, January 12–15). N-gram Feature Selection for Authorship Identification. Proceedings of the International Conference on Artificial Intelligence: Methodology, Systems, and Applications, Varna, Bulgaria.10.1007/11861461_10 ↗
70. Forman, G. (2004, January 4–8). A Pitfall and Solution in Multi-Class Feature Selection for Text Classification. Proceedings of the Twenty-First International Conference on Machine Learning, Banff, AB, Canada.10.1145/1015330.1015356 ↗
71. Comparative Assessment of the Performance of Three WEKA Text Classifiers Applied to Arabic Text
72. Witten, I.H., and Frank, E. (2005). Data Mining: Practical Machine Learning Tools and Techniques, Morgan Kaufmann. [2nd ed.].
73. Additive Logistic Regression: A Statistical View of Boosting (with discussion and a rejoinder by the authors)10.1214/aos/1016218223 ↗
74. A Decision-Theoretic Generalization of On-Line Learning and an Application to Boosting10.1006/jcss.1997.1504 ↗
75. Friedman, J., Hastie, T., and Tibshirani, R. (2001). The Elements of Statistical Learning, Springer.10.1007/978-0-387-21606-5 ↗
76. LIBSVM: A Library for Support Vector Machines10.1145/1961189.1961199 ↗
77. Large Margin Classification Using the Perceptron Algorithm10.1023/A:1007662407062 ↗
78. On Learning Algorithm Selection for Classification10.1016/j.asoc.2004.12.002 ↗
79. An Introduction to Kernel and Nearest-Neighbor Nonparametric regression10.1080/00031305.1992.10475879 ↗