Emotion in many registers: computational modeling of affect, irony, and public sentiment in Indonesian online discourse
DOI:
https://doi.org/10.67490/ijcl.v1i3.1030Keywords:
affective discourse, computational social science, Indonesian NLP, irony detection, sentiment analysisAbstract
Background: Indonesian online discourse increasingly circulates emotion, irony, and public sentiment through civic complaint, protest symbolism, electoral distrust, misinformation correction, and transnational fandom conflict, making polarity-based sentiment analysis insufficient for culturally situated interpretation. Objective: This study examines how affective meaning is organized across registers and how irony, sarcasm, and pragmatic reversal reshape computational readings of Indonesian public sentiment. Method: This study applies corpus-based computational discourse analysis to 22 publicly verifiable corpus items, combining register-sensitive affect coding, irony auditing, and model–discourse misalignment analysis. Results: Civic-service complaint forms the largest affective register, showing that technical or bureaucratic failure is often transformed into public judgment of institutional competence. Irony and sarcasm operate as pragmatic filters that destabilize literal sentiment, especially through mock praise, rhetorical alarm, humorous ridicule, and group-directed antagonism. Model–discourse misalignment appears most strongly where sentiment depends on register, context, multimodal symbolism, or culturally embedded inference rather than lexical polarity alone. Implication: These findings suggest that Indonesian affective modeling requires interpretive validation alongside computational classification. Novelty: This study contributes a register-sensitive framework that integrates affect, irony, sentiment, and model-error interpretation within Indonesian computational discourse analysis.
References
[1] APJII, APJII: Jumlah pengguna internet Indonesia tembus 221 juta orang, Asosiasi Penyelenggara Jasa Internet Indonesia, 2024. [Online]. Available: https://apjii.or.id/berita/d/apjii-jumlah-pengguna-internet-indonesia-tembus-221-juta-orang.
[2] DataReportal, Digital 2025: Indonesia, 2025. [Online]. Available: https://datareportal.com/reports/digital-2025-indonesia.
[3] W. Novitasari, "Sentiment analysis on Indonesian political discourse using transformer-based models," Indonesian Journal of Computational Language Studies, vol. 1, no. 1, pp. 11-21, 2026.
[4] H. Ahmadian, T. F. Abidin, H. Riza, and K. Muchtar, "Hybrid models for emotion classification and sentiment analysis in Indonesian language," Applied Computational Intelligence and Soft Computing, vol. 2024, 2024, doi: 10.1155/2024/2826773.
[5] A. Glenn, P. M. LaCasse, and B. A. Cox, "Emotion classification of Indonesian tweets using bidirectional LSTM," Neural Computing and Applications, vol. 35, pp. 9567-9578, 2023, doi: 10.1007/s00521-022-08186-1.
[6] C. Shaw, P. LaCasse, and L. E. Champagne, "Exploring emotion classification of Indonesian tweets using large scale transfer learning via IndoBERT," Social Network Analysis and Mining, vol. 15, 2025, doi: 10.1007/s13278-025-01439-6.
[7] M. I. Ibrahim, "Morphological segmentation of low-resource Indonesian dialects using unsupervised neural models," Indonesian Journal of Computational Language Studies, vol. 1, no. 1, pp. 53-62, 2026.
[8] A. Nugroho, "Code-mixing detection in Indonesian-English tweets using machine learning and linguistic features," Indonesian Journal of Computational Language Studies, vol. 1, no. 1, pp. 22-31, 2026.
[9] M. A. Sumadi, "Who gets represented by Indonesian AI? Measuring regional, gender, and sociolinguistic bias in large language models," Indonesian Journal of Computational Language Studies, vol. 1, no. 2, 2026.
[10] G. I. Winata, A. F. Aji, S. Cahyawijaya, R. Mahendra, F. Koto, A. Romadhony, K. Kurniawan, D. Moeljadi, R. E. Prasojo, P. Fung, T. Baldwin, J. H. Lau, R. Sennrich, and S. Ruder, "NusaX: Multilingual parallel sentiment dataset for 10 Indonesian local languages," 2022, doi: 10.48550/arXiv.2205.15960.
[11] R. Akula and I. I. Garibay, "Interpretable multi-head self-attention architecture for sarcasm detection in social media," Entropy, vol. 23, no. 4, 2021, doi: 10.3390/e23040394.
[12] S. Frenda, A. T. Cignarella, V. Basile, C. Bosco, V. Patti, and P. Rosso, "The unbearable hurtfulness of sarcasm," Expert Systems with Applications, vol. 193, p. 116398, 2022, doi: 10.1016/j.eswa.2021.116398.
[13] C. Ziems, W. B. Held, O. Shaikh, J. Chen, Z. Zhang, and D. Yang, "Can large language models transform computational social science?," Computational Linguistics, vol. 50, pp. 237-291, 2023, doi: 10.1162/coli_a_00502.
[14] P. Nandwani and R. Verma, "A review on sentiment analysis and emotion detection from text," Social Network Analysis and Mining, vol. 11, 2021, doi: 10.1007/s13278-021-00776-6.
[15] S. Kusal, S. Patil, K. Kotecha, R. Aluvalu, and V. Vijayakumar, "AI based emotion detection for textual big data: Techniques and contribution," Big Data and Cognitive Computing, vol. 5, no. 3, p. 43, 2021, doi: 10.3390/bdcc5030043.
[16] K. Machová, M. Szabóová, J. Paralič, and J. Mičko, "Detection of emotion by text analysis using machine learning," Frontiers in Psychology, vol. 14, 2023, doi: 10.3389/fpsyg.2023.1190326.
[17] M. Hidayat, D. D. Prasetya, and T. Widiyaningtyas, "Sentiment analysis of Latinized Arabic and emoji in Indonesian YouTube comments: A LABERT-LSTM model," Journal of Applied Engineering and Technological Science, 2025, doi: 10.37385/jaets.v6i2.7000.
[18] D. Olaniyan, R. Ogundokun, O. P. Bernard, J. Olaniyan, R. Maskeliūnas, and H. B. Akande, "Utilizing an attention-based LSTM model for detecting sarcasm and irony in social media," Computers, vol. 12, no. 11, p. 231, 2023, doi: 10.3390/computers12110231.
[19] Y. Y. Tan, C. Chow, J. Kanesan, J. H. Chuah, and Y. Lim, "Sentiment analysis and sarcasm detection using deep multi-task learning," Wireless Personal Communications, vol. 129, pp. 2213-2237, 2023, doi: 10.1007/s11277-023-10235-4.
[20] A. D. Yacoub, A. Aboutabl, and S. O. Slim, "Multilingual sarcasm detection for enhancing sentiment analysis using deep learning algorithms," Journal of Communications Software and Systems, 2024, doi: 10.24138/jcomss-2024-0071.
[21] P. Yi, Y. Xia, and Y. Long, "Irony detection, reasoning, and understanding in zero-shot learning," IEEE Transactions on Artificial Intelligence, vol. 7, pp. 740-754, 2025, doi: 10.1109/tai.2025.3579452.
[22] N. Bölücü and B. Can, "Semantically-informed graph neural networks for irony detection in Turkish," ACM Transactions on Asian and Low-Resource Language Information Processing, vol. 24, pp. 1-20, 2024, doi: 10.1145/3705610.
[23] A. Maladry, E. Lefever, C. Van Hee, and V. Hoste, "The limitations of irony detection in Dutch social media," Language Resources and Evaluation, pp. 1-32, 2023, doi: 10.1007/s10579-023-09656-1.
[24] M. Wankhade, A. C. 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.
[25] M. Kumar, L. Khan, and H.-T. Chang, "Evolving techniques in sentiment analysis: A comprehensive review," PeerJ Computer Science, vol. 11, 2025, doi: 10.7717/peerj-cs.2592.
[26] X. Chen, H. Xie, X. Tao, F. Wang, D. Zhang, and H. Dai, "A computational analysis of aspect-based sentiment analysis research through bibliometric mapping and topic modeling," Journal of Big Data, vol. 12, 2025, doi: 10.1186/s40537-025-01068-y.
[27] J. Santoso, "Indonesian named entity recognition using BiLSTM-CRF with domain-specific word embeddings," Indonesian Journal of Computational Language Studies, vol. 1, no. 1, pp. 1-10, 2026.
[28] R. Perwira, V. A. Permadi, D. I. Purnamasari, and R. P. Agusdin, "Domain-specific fine-tuning of IndoBERT for aspect-based sentiment analysis in Indonesian travel user-generated content," Journal of Information Systems Engineering and Business Intelligence, 2025, doi: 10.20473/jisebi.11.1.30-40.
[29] A. Jazuli and R. Kusumaningrum, "Optimizing aspect-based sentiment analysis using BERT for comprehensive analysis of Indonesian student feedback," Applied Sciences, 2024, doi: 10.3390/app15010172.
[30] F. D. Wulandari, "Do large language models reason consistently across Indonesian languages? A multilingual evaluation of Indonesian, Javanese, Sundanese, and Buginese," Indonesian Journal of Computational Language Studies, vol. 1, no. 2, 2026.
[31] Nadiyah, "When safety fails in local languages: Evaluating culturally sensitive responses of large language models in multilingual Indonesia," Indonesian Journal of Computational Language Studies, vol. 1, no. 2, 2026.
[32] D. Demszky, D. Yang, D. S. Yeager, C. J. Bryan, M. Clapper, S. Chandhok, J. Eichstaedt, C. A. Hecht, J. P. Jamieson, M. Johnson, D. Jones Krettek-Cobb, L. Y. Lai, N. JonesMitchell, D. C. Ong, C. Dweck, J. J. Gross, and J. W. Pennebaker, "Using large language models in psychology," Nature Reviews Psychology, vol. 2, pp. 688-701, 2023, doi: 10.1038/s44159-023-00241-5.
[33] D. W. Heaton, J. Clos, E. Nichele, and J. Fischer, "Critical reflections on three popular computational linguistic approaches to examine Twitter discourses," PeerJ Computer Science, vol. 9, 2023, doi: 10.7717/peerj-cs.1211.
[34] R. T. Wibisono, "Hallucinating the archipelago: Detecting factual and cultural errors in retrieval-augmented generation for Indonesian knowledge," Indonesian Journal of Computational Language Studies, vol. 1, no. 2, 2026.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Ivan Riyadi (Author)

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








Creative Commons Attribution 4.0 International License