Sentiment Analysis on Women’s Rights Discussions in Turkish Social Media Using Machine Learning Methods
Abstract
Gender-based legal protections and women’s rights frameworks have been a major topic of public debate in Türkiye, with intense discussions occurring on social media. Understanding the sentiment behind such online discussions can help capture public perceptions and their evolution over time. Therefore, this study aims to detect sentiment in Turkish socio-political posts using machine learning techniques. A total of 15,943 posts from 2010 to 2024 were collected and preprocessed, resulting in a clean dataset of 13,008 posts. Within the scope of the study, sentiments were labeled as positive, negative, or neutral using both BERT-based models, and classification was performed using basic machine learning algorithms. First, two pre-trained BERT-based models were utilized for sentiment analysis, with the selected model achieving 71.9% accuracy on a manually labeled test set. Then, further analysis was conducted using traditional machine learning algorithms, where Random Forest achieved the best performance with a 70.5% accuracy on the manually labeled test set. To analyze the perception of the human rights treaties in society, time-based sentiment shifts, especially around key political events, were visualized. The visualizations show that negative posts received more interaction than positive posts, and the number of negative posts was considerably higher than neutral and positive posts during the important dates for the issue. This study demonstrates the value of combining social media data with machine learning to interpret public opinion on significant societal debates.
Keywords
Ethical Statement
References
- C. Messaoudi, Z. Guessoum, and L. Ben Romdhane, ”Opinion mining in online social media: A survey,” Social Network Analysis and Mining, vol. 12, Art. no. 25, 2022, doi: 10.1007/s13278-021-00855-8.
- Council of Europe, Council of Europe Convention on Preventing and Combating Violence Against Women and Domestic Violence, Council of Europe Treaty Series, no. 210. Istanbul, Türkiye: Council of Europe, 2011.
- M. T. Durmuş, ”Cumhurbaşkanının uluslararası sözleşmeler üzerindeki tasarruf yetkisi ve Türkiye’nin İstanbul Sözleşmesi’nden ayrılmasının hukuki analizi,” Selçuk Üniversitesi Hukuk Fakültesi Dergisi, vol. 29, pp. 1969–2007, 2021 (in Turkish).
- M. H. Çamurcu, ”İstanbul Sözleşmesi: Türkiye’de iç hukuka etkisi ve toplumun tepkisi,” Ankara Barosu Dergisi, vol. 79, pp. 63–106, 2021 (in Turkish).
- T. Elmas, R. Overdorf, and K. Aberer, ”Tactical reframing of online disinformation campaigns against the Istanbul Convention,” 2021, arXiv:2105.13398.
- M. Wankhade, A. C. S. Rao, and C. Kulkarni, ”A survey on sentiment analysis methods, applications, and challenges,” Artificial Intelligence Review, vol. 55, pp. 5731–5780, 2022, doi: 10.1007/s10462-022-10144-1.
- S. Verma, ”Sentiment analysis of public services for smart society: literature review and future research directions,” Government Information Quarterly, vol. 39, Art. no. 101708, 2022, doi: 10.1016/j.giq.2022.101708.
- C. Türkmenoğlu and A. C. Tantuğ, ”Sentiment analysis in Turkish media” in Workshop on Issues of Sentiment Discovery and Opinion Mining (WISDOM), Int. Conf. Machine Learning (ICML), 2014.
Details
Primary Language
English
Subjects
Natural Language Processing
Journal Section
Research Article
Authors
Ayşenur Arslan
0009-0005-5239-5360
Türkiye
Early Pub Date
October 27, 2026
Publication Date
October 30, 2026
Submission Date
February 27, 2026
Acceptance Date
August 26, 2026
Published in Issue
Year 2026 Volume: 9 Number: 5