The Influence of Informal Text Characteristics on the Performance of Indobert and Indobertweet in the Sentiment Classification of Political Comments on the 2024 East Java Governor Election
DOI:
https://doi.org/10.35457/j49q4t21Keywords:
Analisis Sentimen, Indobert, IndoBERTweet, karakteristik teks informal, regresi logistikAbstract
Penelitian ini menganalisis pengaruh empat karakteristik teks informal (panjang komentar, rasio kata tidak baku, rasio pencampuran bahasa daerah, dan kepadatan emoji/tanda baca) terhadap kinerja klasifikasi sentimen komentar politik berbahasa Indonesia, dengan membandingkan dua varian model Transformer berbeda tingkat adaptasi kosakatanya. Teknologi atau Metode: Penelitian membandingkan IndoBERTweet (kosakata teradaptasi domain Twitter) dengan IndoBERT (kosakata domain umum) melalui desain perbandingan setara, yaitu preprocessing, arsitektur, dan strategi penanganan ketidakseimbangan kelas yang identik pada kedua model, sehingga satu-satunya variabel pembeda adalah adaptasi domain kosakata. Data dikumpulkan dari 471 komentar YouTube pada tiga sesi debat Pilgub Jawa Timur 2024. Pengaruh tiap karakteristik dianalisis menggunakan regresi logistik univariat dengan interpretasi odds ratio, dilengkapi uji Kruskal-Wallis dan Mann-Whitney U. Hasil: Hasil tahap awal terhadap 471 komentar (417 berlabel) menunjukkan sentimen didominasi kelas positif (67,1%), rasio slang/OOV rata-rata 24,6% yang mengindikasikan tingkat informalitas tinggi, sementara rasio code-mixing sangat jarang muncul (hanya 4,1% komentar). Kesimpulan: Kerangka desain perbandingan setara yang diusulkan memberikan basis metodologis lebih terkontrol untuk mengisolasi pengaruh adaptasi domain kosakata, dan hasil pilot menegaskan relevansi keempat karakteristik teks informal sebagai variabel penelitian pada domain politik Indonesia.
Downloads
References
[1] L. Geni, E. Yulianti, and D. I. Sensuse, "Sentiment Analysis of Tweets Before the 2024 Elections in Indonesia Using BERT Language Models," J. Ilm. Tek. Elektro Komput. dan Inform., vol. 9, no. 3, pp. 746-757, Aug. 2023, doi: 10.26555/jiteki.v9i3.26490.
[2] M. Fahrezi, Y. B. Pratama, and A. Pramudiyantoro, "Analisis Sentimen Debat Publik Pilpres 2024 Menggunakan Metode Algoritma LSTM dan IndoBERT Pada Platform YouTube," J. Penelit. Ilm. Multidisipliner, vol. 2, no. 3, pp. 1936-1961, 2025. [Online]. Tersedia: https://ojs.ruangpublikasi.com/index.php/jpim/article/view/1110.
[3] F. Koto, J. H. Lau, and T. Baldwin, "IndoBERTweet: A Pretrained Language Model for Indonesian Twitter with Effective Domain-Specific Vocabulary Initialization," in Proc. 2021 Conf. Empirical Methods in Natural Language Processing (EMNLP), 2021, pp. 10660-10668, doi: 10.18653/v1/2021.emnlp-main.833.
[4] A. G. Ganie, "Presence of Informal Language, Such as Emoticons, Hashtags, and Slang, Impact the Performance of Sentiment Analysis Models on Social Media Text?," arXiv preprint, 2023, doi: 10.48550/arXiv.2301.12303.
[5] C. Tho, Y. Heryadi, L. Lukas, and A. Wibowo, "Code-Mixed Sentiment Analysis of Indonesian Language and Javanese Language Using Lexicon Based Approach," J. Phys. Conf. Ser., vol. 1869, no. 1, p. 012084, Apr. 2021, doi: 10.1088/1742-6596/1869/1/012084.
[6] J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, "BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding," in Proc. 2019 Conf. North American Chapter of the Association for Computational Linguistics (NAACL-HLT), 2019, pp. 4171-4186, doi: 10.18653/v1/N19-1423.
[7] F. Koto, A. Rahimi, J. H. Lau, and T. Baldwin, "IndoLEM and IndoBERT: A Benchmark Dataset and Pre-trained Language Model for Indonesian NLP," in Proc. 28th Int. Conf. Computational Linguistics (COLING), 2020, pp. 757-770, doi: 10.18653/v1/2020.coling-main.66.
[8] D. Firth, "Bias Reduction of Maximum Likelihood Estimates," Biometrika, vol. 80, no. 1, pp. 27-38, Mar. 1993, doi: 10.1093/biomet/80.1.27.
[9] N. Azise, M. Ubaidillah, and A. Baijuri, "Analisis Sentimen Pengguna TikTok terhadap Pemilihan Kepala Daerah Kabupaten Situbondo Tahun 2024 Menggunakan Algoritma Naive Bayes," J. Inform. Polinema, vol. 12, no. 3, pp. 607-616, 2026, doi: 10.33795/jip.v12i3.9863.
[10] E. Kurnianengsih and A. Erfina, "Analisis Sentimen Pemilihan Kepala Daerah Serentak 2024 Menggunakan Naive Bayes," presented at SISMATIK, 2024.
[11] B. Satriawan, "Analisis Sentimen Pendapat Masyarakat Mengenai Pilkada 2024 Menggunakan SVM," J. Teknol. Inf. dan Ilmu Komput., vol. 11, 2024.
[12] E. Mandhasiya, "The Hybrid of BERT and Deep Learning Models for Indonesian Sentiment Analysis," Indonesian J. Electr. Eng. Comput. Sci. (IJEECS), vol. 34, 2024.
[13] C.-Y. Lin and E. Nuha, "Sentiment Analysis of Indonesian Datasets Based on a Hybrid Deep-Learning Strategy," J. Big Data, vol. 10, 2023.
[14] S. T. Kokab, S. Asghar, and S. Naz, "Transformer-Based Deep Learning Models for the Sentiment Analysis of Social Media Data," Array, vol. 14, p. 100157, 2022, doi: 10.1016/j.array.2022.100157.
[15] A. Kumar and A. Pang, "Enhancing Sentiment Analysis Through Hybrid Deep Learning: A Combination of BERT, Lexicons, and Convolutional Neural Networks," Inf. Process. Manag., vol. 61, 2024.
[16] S. Barreto, R. Moura, J. Carvalho, A. Paes, and A. Plastino, "Sentiment Analysis in Tweets: An Assessment Study from Classical to Modern Text Representation Models," arXiv preprint, 2021.
[17] S. Henning, W. Beluch, A. Fraser, and A. Friedrich, "A Survey of Methods for Addressing Class Imbalance in Deep-Learning Based Natural Language Processing," in Proc. 17th Conf. European Chapter of the Association for Computational Linguistics (EACL), 2023, pp. 523-540, doi: 10.18653/v1/2023.eacl-main.38.
[18] D. Chicco, A. Sichenze, and G. Jurman, "A Simple Guide to the Use of Student's t-test, Mann-Whitney U test, Chi-squared test, and Kruskal-Wallis test in Biostatistics," BioData Mining, vol. 18, p. 56, 2025, doi: 10.1186/s13040-025-00465-6.
[19] P. Sayarizki, Hasmawati, and H. Nurrahmi, "Implementation of IndoBERT for Sentiment Analysis of Indonesian Presidential Candidates," Indonesian J. Comput. (Indo-JC), vol. 9, no. 2, pp. 61-72, Aug. 2024, doi: 10.34818/INDOJC.2024.9.2.934.
[20] D. I. Putri, A. N. Alfian, M. Y. Putra, and P. D. Mulyo, "IndoBERT Model Analysis: Twitter Sentiments on Indonesia's 2024 Presidential Election," J. Appl. Inform. Comput., vol. 8, no. 1, pp. 7-12, Jul. 2024, doi: 10.30871/jaic.v8i1.7440.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Harris, Kusrini Kusrini

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Copyright on any article is retained by the author(s).
- Author grant the journal, right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work’s authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal’s published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.
- The article and any associated published material is distributed under the Creative Commons Attribution-ShareAlike 4.0 International License

