Analysis of Public Perception of the Digital Branding of the “Content Governor” on X Social Media using Naïve Bayes
DOI:
https://doi.org/10.59934/jaiea.v5i2.2168Keywords:
sentiment analysis, naive bayes, x(twitter), public opinion, content governorAbstract
The development of social media, particularly the X (Twitter) platform, has created a digital discussion space that influences the formation of public opinion on political issues. The “Content Governor” phenomenon, often associated with Dedi Mulyadi, has generated various responses from users, making systematic sentiment analysis necessary to understand these response patterns. This study aims to map public sentiment tendencies while developing a sentiment-classification model using a Naïve Bayes approach combined with TF–IDF weighting. Data were collected through the Twitter API based on several relevant keywords, yielding 2,133 tweets, which, after a selection process and manual labeling, were narrowed down to 1,023 labeled data points consisting of positive, neutral, and negative sentiments. The research stages include preprocessing (case folding, cleaning, normalization, tokenization, stopword removal, and stemming), data balancing using SMOTE, TF–IDF feature construction, and training a Multinomial Naïve Bayes model with an 80:20 data split ratio. Evaluation was carried out using accuracy, precision, recall, F1-score, and a confusion matrix. The results show that the model achieved an accuracy level of 74.15%, with the strongest performance in the negative sentiment category. The distribution of public sentiment also indicates a dominance of negative sentiment (812 items) compared to neutral and positive sentiments, suggesting that netizens’ responses to the “Content Governor” issue tend to be more critical and negative in tone. These findings are expected to enrich studies on digital political communication and provide methodological contributions to sentiment analysis research in the Indonesian language.
Downloads
References
H. Kaur and A. Sharma, “A review on sentiment analysis and emotion detection from text,” Soc. Netw. Anal. Min., vol. 10, no. 1, pp. 1–19, 2020, doi: 10.1007/s13278-020-00673-2.
I. Ahmad, M. Alqarni, M. M. Alam, M. A. Alam, and R. A. Khan, “Twitter sentiment analysis: How to hedge your bets in the stock markets,” Expert Syst. Appl., vol. 185, p. 115611, 2021, doi: 10.1016/j.eswa.2021.115611.
A. Z. Arifin, I. P. A. Mahendra, and E. M. Yuniarno, “Indonesian sentiment analysis based on deep learning using word embedding,” J. Telecommun. Digit. Econ., vol. 7, no. 4, pp. 70–84, 2019, doi: 10.18080/jtde.v7n4.209.
W. Zhang, H. Xu, and W. Wan, “Weakness Finder: Find product weakness from Chinese reviews by using aspects based sentiment analysis,” Expert Syst. Appl., vol. 186, p. 115770, 2021, doi: 10.1016/j.eswa.2021.115770.
F. Rustam, I. Ashraf, A. Mehmood, S. Ullah, and G. S. Choi, “Tweets classification on the base of sentiments for US airline companies,” Entropy, vol. 21, no. 11, p. 1078, 2019, doi: 10.3390/e21111078.
M. E. Alzahrani, T. H. Aldhyani, and S. N. Alsubari, “Developing an intelligent system with deep learning algorithms for sentiment analysis of E-commerce product reviews,” IEEE Access, vol. 8, pp. 26938–26952, 2020, doi: 10.1109/ACCESS.2020.2971415.
A. Abid, S. K. Roy, J. Lees-Marshment, B. L. Dey, S. S. Muhammad, and S. Kumar, “Political social media marketing: A systematic literature review and agenda for future research,” Electron. Commer. Res., 2023.
S. Effendi Pratama, J. Lucretia, H. Irsyad, A. Rahman, U. Multi Data Palembang, and S. Selatan, “Opini Masyarakat Terhadap Bonus Demografi Pada Kanal Youtube Dengan Metode Tf-Idf, Naïve Bayes Dan Smote,” vol. 11, no. 2, pp. 243–253, 2025.
B. R. Bialas, “Political branding: Subterfuge or the new mode of governance?,” J. Public Gov., vol. 64, no. 2, 2023.
K. L. Tan, C. P. Lee, and K. M. Lim, “A survey of sentiment analysis: Approaches, datasets, and future research,” Appl. Sci., vol. 13, no. 7, p. 4550, 2023.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.







