International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 187 - Number 44 |
Year of Publication: 2025 |
Authors: Prithwiraj Bhattacharjee |
![]() |
Prithwiraj Bhattacharjee . Advancing Bengali Sentiment Analysis: A Benchmark Study with ELMo and XLNet Architecture. International Journal of Computer Applications. 187, 44 ( Sep 2025), 32-36. DOI=10.5120/ijca2025925755
Even though Bengali is the sixth most spoken language in the world, many of its natural language processing domains remain underexplored, with sentiment analysis being one of the core areas. This study applies ELMo (Embeddings from Language Models) and XLNet (Transformer-XL) for the first time in Bengali sentiment classification. A dataset of over 40,000 user comments was used, which was collected from YouTube online platforms and used to train both models on binary classification with positive and negative labels and ternary classification with positive, neutral, and negative labels. Experimental results show that the ELMo two-class model achieved the highest accuracy of 71%, while the XLNet two-class model reached 56%. These findings highlight the potential of context-rich representations like ELMo and XLNet for Bengali sentiment analysis, while also revealing the challenges of more nuanced ternary classification. Overall, the research provides new insights into leveraging cutting-edge deep learning models for limited-resource languages such as Bengali.