Conference Paper2023Cited by 5

Genre Classification of Bangla Poem Using Machine Learning and Deep Learning Techniques

Syed Tangim Pasha, Ashraful Islam, Mohammed Masudur Rahman, Eshtiak Ahmed, Md Ferdouse Ahmed Foysal, Md Zahangir Alam

2023 IEEE World AI IoT Congress (AIIoT)

IEEE, pp. 0236–0242

Abstract

The computational analysis of the Bangla poems is a challenging task due to the diverse linguistic, stylistic, and semantic features of the Bangla language. In this work, we prepared a dataset of 1311 Bangla poems of two separate categories: Love and Miscellaneous poem, which contain 500 and 811 poems respectively. We used word or semantic-based features to classify Bangla poems using the TF-IDF feature techniques. We used Logistic Regression, Naïve Bayes (NB), and Support Vector Machine (SVM) models for classification through machine learning, and we used Bayesian optimization techniques for hyperparameters tuning of these three models. We also used LSTM, CNN, and transformer models for this research. For the performance evaluation of the classification models, we used four evaluation metrics of precision, recall, F1-score, and accuracy. We also used the ROC-AUC curve to distinguish between all the machine learning and deep learning models. The experimental results expressed that, the transformer model achieved the highest accuracy compared to all the typical machine learning and deep learning models with an accuracy of 87%.

Keywords

  • TF-IDF features
  • love poetry
  • transformer models
  • genre classification
  • convolutional neural networks
  • Bengali language
  • LSTM
  • text classification
  • Bayesian hyperparameter optimization

CCDS Authors

Syed Tangim Pasha
Syed Tangim Pasha

Syed Tangim Pasha

  • Collaborator, HCI Wing

Lecturer

Department of Computing and Information System

Daffodil International University

Published at

UbiComp

Research Interests

Health Informatics, Affective Computing, Digital Health, Wearable Computing

Ashraful Islam, PhD
Ashraful Islam

Ashraful Islam, PhD

  • Center Director, CCDS
  • Director, HCI Wing

Assistant Professor

Department of Computer Science and Engineering

Independent University, Bangladesh (IUB)

Published at

CHI, UIST, UbiComp, IJCNN, ICIP, HCII, ICDMW, BLP, IEEE Internet of Things Journal, JMIR, JMIR Human Factors, JMIR Formative Research, IEEE Access, Smart Agricultural Technology, Diabetes Research and Clinical Practice, PLOS ONE

Research Interests

Human-Computer Interaction, AI for Social Good, AI for Public Health, AI for Impact

Eshtiak Ahmed
Eshtiak Ahmed

Eshtiak Ahmed

  • Collaborator, HCI Wing

Doctoral Researcher

Gamification Group

Tampere University, Finland

Published at

UbiComp, ICIP, HCII, IEEE Access

Research Interests

Human-Computer Interaction, Human-Robot Interaction, Gamification and Assistive Technologies

References

  1. 1.Jakubův, Jan, Chvalovský, Karel, Goertzel, Zarathustra, Kaliszyk, Cezary, Olšák, Mirek, Piotrowski, Bartosz, Schulz, Stephan, Suda, Martin, Urban, Josef. (2023). MizAR 60 for Mizar 50. DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)[10.4230/lipics.itp.2023.19]
  2. 2.Kaushika Pal, Biraj V. Patel. (2020). Data Classification with k-fold Cross Validation and Holdout Accuracy Estimation Methods with 5 Different Machine Learning Techniques. , 83–87[10.1109/iccmc48092.2020.iccmc-00016]
  3. 3.Ovishake Sen, Mohtasim Fuad, Md. Nazrul Islam, Jakaria Rabbi, Mehedi Masud, Md. Kamrul Hasan, Md. Abdul Awal, Awal Ahmed Fime, Md. Tahmid Hasan Fuad, Delowar Sikder, Md. Akil Raihan Iftee. (2022). Bangla Natural Language Processing: A Comprehensive Analysis of Classical, Machine Learning, and Deep Learning-Based Methods. IEEE Access, 10, 38999–39044[10.1109/access.2022.3165563]
  4. 4.Munef Abdullah Ahmed, Raed Abdulkareem Hasan, Ahmed Hussein Ali, Mostafa Abdulghafoor Mohammed. (2019). The classification of the modern arabic poetry using machine learning. TELKOMNIKA (Telecommunication Computing Electronics and Control), 17(5), 2667[10.12928/telkomnika.v17i5.12646]
  5. 5.Rang. (2012). Poetry Classification Using Support Vector Machines. Journal of Computer Science, 8(9), 1441–1446[10.3844/jcssp.2012.1441.1446]
  6. 6.David M. Kaplan, David M. Blei. (2007). A Computational Approach to Style in American Poetry. , 553–558[10.1109/icdm.2007.76]
  7. 7.Jasleen Kaur, Jatinderkumar R. Saini. (2017). Punjabi Poetry Classification. , 1–5[10.1145/3055635.3056589]
  8. 8.Geetanjali Rakshit, Anupam Ghosh, Pushpak Bhattacharyya, Gholamreza Haffari. (2015). Automated analysis of Bangla poetry for classification and poet identification. , 247–253
  9. 9.Jasleen Kaur, Jatinderkumar R. Saini. (2019). Designing Punjabi Poetry Classifiers Using Machine Learning and Different Textual Features. The International Arab Journal of Information Technology, 38–44[10.34028/iajit/17/1/5]
  10. 10.Saeid Hamidi, Farbod Razzazi, Masoumeh P. Ghaemmaghami. (2009). Automatic meter classification in Persian poetries using support vector machines. , 563–567[10.1109/isspit.2009.5407514]
  11. 11.Andrés Lou, Diana Inkpen, Chris Tănăsescu. (2015). Multilabel Subject-Based Classification of Poetry. Digital Access to Libraries (Université catholique de Louvain (UCL), l'Université de Namur (UNamur) and the Université Saint-Louis (USL-B)), 187–192[link]
  12. 12.Prafulla Bafna, Jatinderkumar R. Saini. (2020). Hindi Poetry Classification using Eager Supervised Machine Learning Algorithms. , 175–178[10.1109/esci48226.2020.9167632]
  13. 13.Rushali Deshmukh, Mr. Suraj Kore, Ms. Namrata Chavan, Ms. Sayali Gole, Mr. Kumar Adarsh. (2019). Marathi Poem Classification using Machine Learning. International Journal of Recent Technology and Engineering (IJRTE), 8(2), 2723–2727[10.35940/ijrte.b1761.078219]
  14. 14.Jasleen Kaur, Jatinderkumar R. Saini. (2016). Automatic Punjabi poetry classification using machine learning algorithms with reduced feature set. International Journal of Artificial Intelligence and Soft Computing, 5(4), 311[10.1504/ijaisc.2016.081353]
  15. 15.Jasleen Kaur, Jatinderkumar R. Saini. (2018). Automatic classification of Punjabi poetries using poetic features. International Journal of Computational Intelligence Studies, 7(2), 124[10.1504/ijcistudies.2018.094901]
  16. 16.Nazmun Nisat Ontika, Md. Fasihul Kabir, Ashraful Islam, Eshtiak Ahmed, Mohammad Nurul Huda. (2019). A Computational Approach to Author Identification from Bengali Song Lyrics. Algorithms for intelligent systems, 359–369[10.1007/978-981-13-7564-4_31]

Cited By

  1. 1.Rayhanuzzaman, Tanjim Mahmud, Utpol Kanti Das, Sultana Rokeya Naher, Mohammad Shahadat Hossain, Karl Andersson. (2024). Investigating the Effectiveness of Deep Learning and Machine Learning for Bangla Poems Genre Classification. , 1–6[10.1109/conit61985.2024.10627555]
  2. 2.BADRIYYA B. AL-ONAZI, MAJDY M. ELTAHIR, MUHAMMAD SWAILEH A. ALZAIDI, SHOUKI A. EBAD, SHOAYEE DLAIM ALOTAIBI, AHMED SAYED. (2024). AUTOMATING METER CLASSIFICATION OF ARABIC POEMS: A HARRIS HAWKS OPTIMIZATION WITH DEEP LEARNING PERSPECTIVE. Fractals, 33(02)[10.1142/s0218348x25400080]
  3. 3.Danish Haikal Bin Suhaimi, Hasiah Mohamed, Nurul Izzah Irdina Binti Mohd Kairudin, Syarifah Bahiyah Rahayu. (2025). Malay Pantun Theme Classification Using Support Vector Machine. , 324–329[10.1109/icset65917.2025.11283995]
  4. 4.Bikokhita Dutta, Mandira Neog, Nomi Baruah. (2024). Unveilling the Effectiveness of LSTM with TF-IDF in Assamese Poem Classification:A Comparative Analysis with Conventional and Deep Learning Approaches. , 1–6[10.1109/icccnt61001.2024.10725384]
  5. 5.B. Lavanya, R. Sowmiya. (2025). Exploring the Strength of Extensive Features in Short Poem Genre Classification Using Advanced Feature Engineering. Lecture notes in networks and systems, 241–260[10.1007/978-3-031-84460-7_16]