{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,31]],"date-time":"2026-07-31T19:35:57Z","timestamp":1785526557418,"version":"3.56.0"},"reference-count":54,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2025,2,14]],"date-time":"2025-02-14T00:00:00Z","timestamp":1739491200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Artif. Intell."],"abstract":"<jats:p>The metrical structure of classical Arabic poetry, deeply rooted in its rich literary heritage, is governed by 16 distinct meters, making its analysis both a linguistic and computational challenge. In this study, a deep learning-based approach was developed to accurately determine the meter of Arabic poetry using TensorFlow and a large dataset. Character-level encoding was employed to convert text into integers, enabling the classification of both full-verse and half-verse data. In particular, the data were evaluated without removing diacritics, preserving critical linguistic features. A train\u2013test\u2013split method with a 70\u201315\u201315 division was utilized, with 15% of the total dataset reserved as unseen test data for evaluation across all models. Multiple deep learning architectures, including long short-term memory (LSTM), gated recurrent units (GRU), and bidirectional long short-term memory (Bi-LSTM), were tested. Among these, the bidirectional long short-term memory model achieved the highest accuracy, with 97.53% for full-verse and 95.23% for half-verse data. This study introduces an effective framework for Arabic meter classification, contributing significantly to the application of artificial intelligence in natural language processing and text analytics.<\/jats:p>","DOI":"10.3389\/frai.2025.1523336","type":"journal-article","created":{"date-parts":[[2025,2,14]],"date-time":"2025-02-14T06:59:14Z","timestamp":1739516354000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":12,"title":["Determining the meter of classical Arabic poetry using deep learning: a performance analysis"],"prefix":"10.3389","volume":"8","author":[{"given":"A. M.","family":"Mutawa","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ayshah","family":"Alrumaih","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2025,2,14]]},"reference":[{"key":"ref1","author":"Abadi","year":"2016"},{"key":"ref2","doi-asserted-by":"publisher","first-page":"3775","DOI":"10.1016\/j.jksuci.2020.12.002","article-title":"Classifying and diacritizing Arabic poems using deep recurrent neural networks","volume":"34","author":"Abandah","year":"2020","journal-title":"J. King Saud Univ. -Comp. Inform. Sci."},{"key":"ref3","doi-asserted-by":"publisher","first-page":"3744","DOI":"10.1016\/j.jksuci.2022.04.005","article-title":"Transfer learning and multi-phase training for accurate diacritization of Arabic poetry","volume":"34","author":"Abandah","year":"2022","journal-title":"J. King Saud Univ. -Comp. Inform. Sci."},{"key":"ref4","doi-asserted-by":"publisher","first-page":"409","DOI":"10.24996\/ijs.2022.63.1.37","article-title":"A survey on Arabic text classification using deep and machine learning algorithms. Iraqi journal of","volume":"63","author":"Abdulghani","year":"2022","journal-title":"Science"},{"key":"ref5","first-page":"1","article-title":"A rule-based algorithm for the detection of arud meter in classical Arabic poetry","volume":"15","author":"Abuata","year":"2018","journal-title":"Int. Arab J. Inf. Technol."},{"key":"ref6","doi-asserted-by":"publisher","first-page":"42","DOI":"10.18178\/lnit.3.1.42-47","article-title":"Utilization of two diacritics for Arabic text steganography to enhance performance","volume":"3","author":"Ahmadoh","year":"2015","journal-title":"Lect. Notes Infor. Theory"},{"key":"ref7","doi-asserted-by":"publisher","first-page":"2667","DOI":"10.12928\/telkomnika.v17i5.12646","article-title":"The classification of the modern arabic poetry using machine learning","volume":"17","author":"Ahmed","year":"2019","journal-title":"Telkomnika"},{"key":"ref8","first-page":"72","article-title":"Pattern and poet recognition of Arabic poems using BiLSTM networks","author":"Albaddawi","year":"2021"},{"key":"ref9","doi-asserted-by":"publisher","first-page":"454","DOI":"10.17706\/jsw.10.4.454-464","article-title":"Recognition of modern Arabic poems","volume":"10","author":"Almuhareb","year":"2015","journal-title":"J. Softw."},{"key":"ref10","doi-asserted-by":"publisher","first-page":"52","DOI":"10.20454\/jcce.2013.600","article-title":"Finding Arabic poem meter using context free grammar","volume":"3","author":"Alnagdawi","year":"2013","journal-title":"J. Comm. Comput. Eng."},{"key":"ref11","first-page":"1","article-title":"Arabic poetry meter categorization using machine learning based on customized feature extraction","author":"Alqasemi","year":"2021"},{"key":"ref12","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1016\/j.patrec.2020.05.028","article-title":"Meter classification of Arabic poems using deep bidirectional recurrent neural networks","volume":"136","author":"Al-shaibani","year":"2020","journal-title":"Pattern Recogn. Lett."},{"key":"ref13","doi-asserted-by":"publisher","first-page":"6963","DOI":"10.1145\/3676963","article-title":"Leveraging hybrid adaptive sine cosine algorithm with deep learning for Arabic poem meter detection","volume":"9","author":"Al-shathry","year":"2024","journal-title":"ACM Trans. Asian Low-Resour. Lang. Inf. Process"},{"key":"ref14","doi-asserted-by":"publisher","first-page":"107921","DOI":"10.1016\/j.compbiomed.2024.107921","article-title":"DeBERTa-BiLSTM: a multi-label classification model of Arabic medical questions using pre-trained models and deep learning","volume":"170","author":"Al-Smadi","year":"2024","journal-title":"Comput. Biol. Med."},{"key":"ref15","doi-asserted-by":"publisher","first-page":"50","DOI":"10.14500\/aro.10631","article-title":"Automatic recognition of Arabic poetry meter from speech signal using long short-term memory and support vector machine","volume":"8","author":"Al-Talabani","year":"2020","journal-title":"ARO Sci. J. Koya Univ."},{"key":"ref16","first-page":"1","article-title":"Comparison and generation of a poem in Arabic language using the LSTM, BILSTM and GRU","volume":"25","author":"Atassi","year":"2022","journal-title":"J. Manag. Inform. Decis. Sci."},{"key":"ref17","doi-asserted-by":"publisher","first-page":"4173","DOI":"10.3390\/math10224173","article-title":"Application of natural language processing and machine learning boosted with swarm intelligence for spam email filtering","volume":"10","author":"Bacanin","year":"2022","journal-title":"Mathematics"},{"key":"ref18","first-page":"1","article-title":"An efficient lightweight algorithm for automatic meters identification and error Management in Arabic Poetry","author":"Ba\u00efna","year":"2020"},{"key":"ref19","first-page":"1","article-title":"Pattern matching in meter detection of Arabic classical poetry","author":"Berkani","year":"2020"},{"key":"ref20","doi-asserted-by":"publisher","first-page":"102798","DOI":"10.1016\/j.ipm.2021.102798","article-title":"A comparative study of automated legal text classification using random forests and deep learning","volume":"59","author":"Chen","year":"2022","journal-title":"Inf. Process. Manag."},{"key":"ref21","first-page":"1724","article-title":"Learning phrase representations using RNN encoder-decoder for statistical machine translation","author":"Cho","year":"2014"},{"key":"ref22","doi-asserted-by":"publisher","first-page":"31","DOI":"10.5120\/20182-2402","article-title":"Applications of artificial intelligence in machine learning: review and prospect","volume":"115","author":"Das","year":"2015","journal-title":"Int. J. Comp. Appl."},{"key":"ref23","doi-asserted-by":"publisher","first-page":"94","DOI":"10.7861\/futurehosp.6-2-94","article-title":"The potential for artificial intelligence in healthcare","volume":"6","author":"Davenport","year":"2019","journal-title":"Future Healthc. J."},{"key":"ref24","first-page":"1597","article-title":"Gate-variants of gated recurrent unit (GRU) neural networks","author":"Dey","year":"2017"},{"key":"ref25","doi-asserted-by":"publisher","first-page":"1135","DOI":"10.1007\/s00521-021-06390-z","article-title":"Arabic text classification: the need for multi-labeling systems","volume":"34","author":"El Rifai","year":"2022","journal-title":"Neural Comput. Applic."},{"key":"ref26","doi-asserted-by":"crossref","DOI":"10.24251\/HICSS.2020.421","article-title":"Fitness tracking technologies: data privacy doesn\u2019t matter? The (un) concerns of users, former users, and non-users","author":"Fietkiewicz","year":"2020"},{"key":"ref27","doi-asserted-by":"publisher","first-page":"70556","DOI":"10.1109\/ACCESS.2021.3078513","article-title":"Monitoring real-time personal locomotion behaviors over smart indoor-outdoor environments via body-worn sensors","volume":"9","author":"Gochoo","year":"2021","journal-title":"IEEE Access"},{"key":"ref28","author":"Grandini","year":"2020"},{"key":"ref29","doi-asserted-by":"crossref","first-page":"225","DOI":"10.1016\/B978-0-12-819365-5.00013-9","article-title":"Unsupervised recurrent deep learning scheme for process monitoring","volume-title":"Statistical process monitoring using advanced data-driven and deep learning approaches","author":"Harrou","year":"2021"},{"key":"ref30","doi-asserted-by":"publisher","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","article-title":"Long short-term memory","volume":"9","author":"Hochreiter","year":"1997","journal-title":"Neural Comput."},{"key":"ref31","author":"Huang","year":"2015"},{"key":"ref32","doi-asserted-by":"publisher","first-page":"2515","DOI":"10.1016\/j.jksuci.2020.04.001","article-title":"The survey: text generation models in deep learning","volume":"34","author":"Iqbal","year":"2022","journal-title":"J. King Saud Univ. -Comput. Inf. Sci."},{"key":"ref33","volume-title":"Early Arabic poetry: select poems","author":"Jones","year":"2011"},{"key":"ref34","first-page":"41","article-title":"Computerization of Arabic poetry meters","volume":"6","author":"Khalaf","year":"2009","journal-title":"UOS J. Pure App. Sci."},{"key":"ref35","doi-asserted-by":"publisher","first-page":"123416","DOI":"10.1016\/j.eswa.2024.123416","article-title":"BERT-based Arabic Diacritization: a state-of-the-art approach for improving text accuracy and pronunciation","volume":"248","author":"Kharsa","year":"2024","journal-title":"Expert Syst. Appl."},{"key":"ref36","author":"Kingma","year":"2014"},{"key":"ref37","doi-asserted-by":"publisher","first-page":"81","DOI":"10.31875\/2409-9694.2024.11.07","article-title":"Consumer feedback sentiment classification improved via modified metaheuristic optimization natural language processing","volume":"11","author":"Kozakijevic","year":"2024","journal-title":"Int. J. Robot. Autom. Technol."},{"key":"ref38","doi-asserted-by":"publisher","first-page":"43","DOI":"10.22051\/jml.2023.44634.2497","article-title":"A cognitive analysis of Mathnavi's Arabic poems","volume":"16","author":"Lavzheh","year":"2024","journal-title":"J. Myst. Liter."},{"key":"ref39","doi-asserted-by":"publisher","first-page":"436","DOI":"10.1038\/nature14539","article-title":"Deep learning","volume":"521","author":"LeCun","year":"2015","journal-title":"Deep Learn. Nat."},{"key":"ref40","doi-asserted-by":"publisher","first-page":"20","DOI":"10.3390\/s20195606","article-title":"Real-time Cuffless continuous blood pressure estimation using deep learning model","volume":"20","author":"Li","year":"2020","journal-title":"Sensors"},{"key":"ref41","author":"Liang","year":"2016"},{"key":"ref42","doi-asserted-by":"publisher","first-page":"95","DOI":"10.36548\/jaicn.2019.2.005","article-title":"An improved safety algorithm for artificial intelligence enabled processors in self driving cars","volume":"1","author":"Manoharan","year":"2019","journal-title":"J. Artif. Intell."},{"key":"ref43","doi-asserted-by":"publisher","first-page":"25731","DOI":"10.1038\/s41598-024-77240-w","article-title":"Sentiment classification for insider threat identification using metaheuristic optimized machine learning classifiers","volume":"14","author":"Mladenovic","year":"2024","journal-title":"Sci. Rep."},{"key":"ref44","first-page":"219386","article-title":"Arabic poetry meter identification system and method","volume":"8","author":"Saleh","year":"2012","journal-title":"US Patent"},{"key":"ref45","doi-asserted-by":"publisher","first-page":"2673","DOI":"10.1109\/78.650093","article-title":"Bidirectional recurrent neural networks","volume":"45","author":"Schuster","year":"1997","journal-title":"IEEE Trans. Signal Process."},{"key":"ref46","doi-asserted-by":"publisher","first-page":"132306","DOI":"10.1016\/j.physd.2019.132306","article-title":"Fundamentals of recurrent neural network (RNN) and long short-term memory (LSTM) network","volume":"404","author":"Sherstinsky","year":"2020","journal-title":"Physica D"},{"key":"ref47","doi-asserted-by":"publisher","first-page":"371","DOI":"10.1007\/s10844-013-0250-y","article-title":"Classification accuracy is not enough","volume":"41","author":"Sturm","year":"2013","journal-title":"J. Intell. Inf. Syst."},{"key":"ref48","doi-asserted-by":"publisher","first-page":"168","DOI":"10.1016\/j.aci.2018.08.003","article-title":"Classification assessment methods","volume":"17","author":"Tharwat","year":"2020","journal-title":"Appl. Comput. Inform."},{"key":"ref49","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1155\/2022\/1566890","article-title":"Abstractive Arabic text summarization based on deep learning","volume":"2022","author":"Wazery","year":"2022","journal-title":"Comput. Intell. Neurosci."},{"key":"ref50","doi-asserted-by":"publisher","first-page":"153826","DOI":"10.1109\/ACCESS.2020.3018170","article-title":"Research on artificial intelligence enhancing internet of things security: a survey","volume":"8","author":"Wu","year":"2020","journal-title":"IEEE Access"},{"key":"ref51","author":"Yin","year":"2017"},{"key":"ref52","author":"Yousef","year":"2019"},{"key":"ref53","first-page":"1","article-title":"A proposed system for the identification of modem Arabic poetry meters (IMAP)","author":"Zeyada","year":"2020"},{"key":"ref54","first-page":"7","article-title":"A novel method for COVID-19 pandemic information fake news detection based on the arithmetic optimization algorithm","author":"Zivkovic","year":"2021"}],"container-title":["Frontiers in Artificial Intelligence"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frai.2025.1523336\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,2,14]],"date-time":"2025-02-14T06:59:20Z","timestamp":1739516360000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frai.2025.1523336\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,2,14]]},"references-count":54,"alternative-id":["10.3389\/frai.2025.1523336"],"URL":"https:\/\/doi.org\/10.3389\/frai.2025.1523336","relation":{},"ISSN":["2624-8212"],"issn-type":[{"value":"2624-8212","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,2,14]]},"article-number":"1523336"}}