TR
EN
Sentiment Analysis in Turkish Using Language Models: A Comparative Study
Öz
Sentiment analysis is a natural language processing (NLP) task that aims to automatically identify positive, negative and neutral emotions in texts. Agglutinative languages such as Turkish pose challenges for sentiment analysis due to their complex morphological structure. Traditional methods are inadequate for detecting sentiment in texts. Language models (LMs), on the other hand, achieve successful results in sentiment analysis as well as in many other NLP tasks thanks to their ability to learn context and structural features of the language. In this study, XLM-RoBERTa, mBERT, BERTurk 32k, BERTurk 128k, ELECTRA Turkish Small and ELECTRA Turkish Base models were fine-tuned using the Turkish Sentiment Analysis – Version 1 (TRSAv1) dataset and the performances of the models were compared. The dataset consists of 150,000 texts containing user comments on e-commerce platforms. The classes have a balanced distribution for positive, negative and neutral classes. The fine-tuned models are evaluated using the test set with metrics such as accuracy, precision, recall and F1 score. The findings show that models customized for the Turkish language exhibit better performance in emotion detection compared to multilingual models. The BERTurk 32k model achieved strong results with an accuracy of 83.69% and an F1 score of 83.65%, while the BERTurk 128k model followed closely with an accuracy of 83.68% and an F1 score of 83.66%. On the other hand, the XLM-RoBERTa model, a multilingual model, delivered competitive performance with an accuracy of 83.27% and an F1 score of 83.22%.
Anahtar Kelimeler
Kaynakça
- [1] I. Yaqoob, I. A. T. Hashem, A. Gani, S. Mokhtar, E. Ahmed, N. B. Anuar, and A. V. Vasilakos, “Big data: From beginning to future,” Int. J. Inf. Manage., vol. 36, no. 6, pp. 1231–1247, 2016.
- [2] S. Mittal, A. Goel, and R. Jain, “Sentiment analysis of E-commerce and social networking sites,” in Proc. 3rd Int. Conf. Comput. Sustainable Global Develop. (INDIACom), 2016, pp. 2300–2305.
- [3] M. Rodríguez-Ibáñez, A. Casánez-Ventura, F. Castejón-Mateos, and P.-M. Cuenca-Jiménez, “A review on sentiment analysis from social media platforms,” Expert Syst. Appl., vol. 223, p. 119862, 2023.
- [4] M. Marong, N. K. Batcha, and R. Mafas, “Sentiment analysis in e-commerce: A review on the techniques and algorithms,” J. Appl. Technol. Innov., vol. 4, no. 1, p. 6, 2020.
- [5] M. Wankhade, A. C. S. Rao, and C. Kulkarni, “A survey on sentiment analysis methods, applications, and challenges,” Artif. Intell. Rev., vol. 55, no. 7, pp. 5731–5780, 2022.
- [6] A. P. Jain and P. Dandannavar, “Application of machine learning techniques to sentiment analysis,” in Proc. 2nd Int. Conf. Appl. Theor. Comput. Commun. Technol. (iCATccT), 2016, pp. 628–632.
- [7] C. S. G. Khoo and S. B. Johnkhan, “Lexicon-based sentiment analysis: Comparative evaluation of six sentiment lexicons,” J. Inf. Sci., vol. 44, no. 4, pp. 491–511, 2018.
- [8] M. Ahmad, S. Aftab, and I. Ali, “Sentiment analysis of tweets using SVM,” Int. J. Comput. Appl., vol. 177, no. 5, pp. 25–29, 2017.
Ayrıntılar
Birincil Dil
İngilizce
Konular
Yazılım Mühendisliği (Diğer)
Bölüm
Araştırma Makalesi
Erken Görünüm Tarihi
1 Temmuz 2025
Yayımlanma Tarihi
1 Temmuz 2025
Gönderilme Tarihi
27 Kasım 2024
Kabul Tarihi
23 Haziran 2025
Yayımlandığı Sayı
Yıl 2025 Cilt: 15 Sayı: 1
APA
İncidelen, M., & Aydoğan, M. (2025). Sentiment Analysis in Turkish Using Language Models: A Comparative Study. European Journal of Technique (EJT), 15(1), 68-74. https://doi.org/10.36222/ejt.1592448
AMA
1.İncidelen M, Aydoğan M. Sentiment Analysis in Turkish Using Language Models: A Comparative Study. EJT. 2025;15(1):68-74. doi:10.36222/ejt.1592448
Chicago
İncidelen, Mert, ve Murat Aydoğan. 2025. “Sentiment Analysis in Turkish Using Language Models: A Comparative Study”. European Journal of Technique (EJT) 15 (1): 68-74. https://doi.org/10.36222/ejt.1592448.
EndNote
İncidelen M, Aydoğan M (01 Temmuz 2025) Sentiment Analysis in Turkish Using Language Models: A Comparative Study. European Journal of Technique (EJT) 15 1 68–74.
IEEE
[1]M. İncidelen ve M. Aydoğan, “Sentiment Analysis in Turkish Using Language Models: A Comparative Study”, EJT, c. 15, sy 1, ss. 68–74, Tem. 2025, doi: 10.36222/ejt.1592448.
ISNAD
İncidelen, Mert - Aydoğan, Murat. “Sentiment Analysis in Turkish Using Language Models: A Comparative Study”. European Journal of Technique (EJT) 15/1 (01 Temmuz 2025): 68-74. https://doi.org/10.36222/ejt.1592448.
JAMA
1.İncidelen M, Aydoğan M. Sentiment Analysis in Turkish Using Language Models: A Comparative Study. EJT. 2025;15:68–74.
MLA
İncidelen, Mert, ve Murat Aydoğan. “Sentiment Analysis in Turkish Using Language Models: A Comparative Study”. European Journal of Technique (EJT), c. 15, sy 1, Temmuz 2025, ss. 68-74, doi:10.36222/ejt.1592448.
Vancouver
1.Mert İncidelen, Murat Aydoğan. Sentiment Analysis in Turkish Using Language Models: A Comparative Study. EJT. 01 Temmuz 2025;15(1):68-74. doi:10.36222/ejt.1592448