Code-switching as a computational problem: modeling Indonesian–English digital talk beyond monolingual assumptions

Authors

  • Devita Septian Dwi Hidayati Universitas Pembangunan Nasional "Veteran" Jawa Timur Author

DOI:

https://doi.org/10.67490/ijcl.v1i3.1027

Keywords:

code-switching, computational sociolinguistics, Indonesian–English, language identification, multilingual NLP

Abstract

Background: Indonesian–English digital talk increasingly exposes the limits of language technologies that assume stable monolingual input, because switch-points often carry stance, affect, technical meaning, platform practice, and identity across compact social media utterances. Objective: This study examines how Indonesian–English code-switching can be modeled as a computational problem without reducing mixed-language digital utterances to noise, error, or preprocessing residue. Method: Using a corpus-based qualitative-computational design, this study analyzes 15 coded public digital text records through token-level language identification, switch-point mapping, normalization–translation alignment, and pragmatic-computational risk coding. Results: Code-switching appears as structured multilingual practice, with English segments functioning as evaluative phrases, technical labels, platform commands, fandom markers, and discourse-sequence devices within Indonesian frames. Normalization and translation are shown to be interpretive operations, because full correction or translation may flatten sentiment scope, register, and locally meaningful hybrid forms. Monolingual processing risks forced single-language labeling, technical mistranslation, discourse-sequence loss, and representational distortion for multilingual users. Implication: These findings reposition computational adequacy as a question of meaning preservation, not merely model accuracy or benchmark coverage in a low-resource Indonesian digital context for language technologies. Novelty: This study offers an integrated framework that links linguistic switching structure, preprocessing risk, and accountable multilingual NLP representation.

References

[1] DataReportal, Digital 2025: Indonesia, 2025. [Online]. Available: https://datareportal.com/reports/digital-2025-indonesia.

[2] 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.

[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] A. Wahid, "Lexical patterns in Indonesian academic writing: A corpus-based analysis for writing assistance," Indonesian Journal of Computational Language Studies, vol. 1, no. 1, pp. 32-42, 2026.

[5] T. Yuliyana, "Automatic readability assessment of Indonesian educational texts using hybrid NLP approaches," Indonesian Journal of Computational Language Studies, vol. 1, no. 1, pp. 43-52, 2026.

[6] 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.

[7] A. M. Barik, M. Adriani, and R. Mahendra, "Normalization of Indonesian-English code-mixed Twitter data," in Proc. 5th Workshop on Noisy User-generated Text, 2019, pp. 417-424, doi: 10.18653/v1/D19-5554.

[8] 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.

[9] A. E. Bouazzaoui, "Beyond translated benchmarks: A culturally grounded evaluation of large language models for Indonesian language understanding," Indonesian Journal of Computational Language Studies, vol. 1, no. 2, 2026.

[10] 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.

[11] 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.

[12] 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.

[13] 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.

[14] A. Hadziqi, "Small models, many languages: Parameter-efficient adaptation of multilingual language models for low-resource Indonesian languages," Indonesian Journal of Computational Language Studies, vol. 1, no. 2, 2026.

[15] S. A. Doğruöz, S. Sitaram, B. E. Bullock, and A. J. Toribio, "A survey of code-switching: Linguistic and social perspectives for language technologies," in Proc. Annual Meeting of the Association for Computational Linguistics, 2023, pp. 1654-1666, doi: 10.18653/v1/2021.acl-long.131.

[16] W. Rayo, A. M. Barrita, L. C. Martinez, and I. Carbajal, "The complexity in bilingual code-switching research: A systematic review," Languages, 2024, doi: 10.3390/languages9060217.

[17] A. Azzahra, "Code switching and code mixing in modern public communication: Indonesian sociolinguistic analysis," International Journal of Current Science Research and Review, 2024, doi: 10.47191/ijcsrr/v7-i6-58.

[18] W. O. Hanafiah, "Forms and functions of Indonesian-English code switching: A case study of elites in Makassar City," ELS Journal on Interdisciplinary Studies in Humanities, 2022, doi: 10.34050/elsjish.v5i3.23155.

[19] H. Sahib, W. Hanafiah, M. Aswad, A. Yassi, and F. Mashhadi, "Syntactic configuration of code-switching between Indonesian and English: Another perspective on code-switching phenomena," Education Research International, 2021, doi: 10.1155/2021/3402485.

[20] H. Hafid and M. Margana, "Code-switching practices in multilingual classrooms: Exploring pedagogical functions," AL-ISHLAH: Jurnal Pendidikan, 2022, doi: 10.35445/alishlah.v14i2.1326.

[21] S. D. Mulyani, S. Delfi, and J. Jismulatif, "Beyond English and Bahasa: Exploring the pedagogical functions of code-switching in multilingual EFL contexts," REiLA: Journal of Research and Innovation in Language, 2024, doi: 10.31849/reila.v6i3.23316.

[22] D. Nuraini and F. Fitriana, "Code-switching as a communicative strategy among Indonesian university students on social media," Jurnal Tahuri, 2024, doi: 10.30598/tahurivol21issue2page155-172.

[23] M. J. Yusuf, I. Simpuruh, and S. Syamsinar, "An analysis of code-switching by college students in Makassar," ELS Journal on Interdisciplinary Studies in Humanities, 2024, doi: 10.34050/els-jish.v7i4.42024.

[24] M. A. Manuhutu, A. I. Rahmadani, and P. E. I. Suardana, "Language contact phenomena: A case study of Indonesian-English code-switching in social media communication," Focus Journal Language Review, 2024, doi: 10.62795/fjlg.v2i2.291.

[25] H. Wibowo and N. Hamidah, "Linguistic interplay on social media: Unraveling Indonesian-English code mixing on Twitter," Tamaddun, 2023, doi: 10.33096/tamaddun.v22i2.547.

[26] U. A. S. Tabi'in, "Code-switching in digital communication: A study of Indonesian EFL students on social media platforms," INOMATEC: Jurnal Inovasi dan Kajian Multidisipliner Kontemporer, 2026, doi: 10.70294/ino1234.

[27] A. F. Hidayatullah, R. Apong, D. Lai, and A. Qazi, "Corpus creation and language identification for code-mixed Indonesian-Javanese-English tweets," PeerJ Computer Science, vol. 9, 2023, doi: 10.7717/peerj-cs.1312.

[28] G. I. Winata, S. Cahyawijaya, Z. Liu, Z. Lin, A. Madotto, and P. Fung, "Are multilingual models effective in code-switching?," in Proc. 5th Workshop on Computational Approaches to Linguistic Code-Switching, 2021, pp. 142-153, doi: 10.18653/v1/2021.calcs-1.20.

[29] R. Zhang, S. Cahyawijaya, J. C. B. Cruz, and A. F. Aji, "Multilingual large language models are not (yet) code-switchers," in Proc. Annual Meeting of the Association for Computational Linguistics, 2023, pp. 12567-12582, doi: 10.48550/arxiv.2305.14235.

[30] A. F. Hidayatullah, R. Apong, D. T. C. Lai, and A. Qazi, "Pre-trained language model for code-mixed text in Indonesian, Javanese, and English using transformer," Social Network Analysis and Mining, vol. 15, 2025, doi: 10.1007/s13278-025-01444-9.

[31] H. Rathnayake, J. Sumanapala, R. Rukshani, and S. Ranathunga, "Adapter-based fine-tuning of pre-trained multilingual language models for code-mixed and code-switched text classification," Knowledge and Information Systems, vol. 64, pp. 1937-1966, 2022, doi: 10.1007/s10115-022-01698-1.

[32] S. Mondal, R., S. Pathak, P. Jyothi, and A. Raghuveer, "CoCoa: An encoder-decoder model for controllable code-switched generation," in Proc. 2022 Conf. Empirical Methods in Natural Language Processing, 2022, pp. 2466-2479, doi: 10.18653/v1/2022.emnlp-main.158.

[33] P. Xie, X. Liu, T. W. Chan, Y. Bie, Y. Song, Y. Wang, H. Chen, and K. Chen, "SwitchLingua: The first large-scale multilingual and multi-ethnic code-switching dataset," arXiv, 2025, doi: 10.48550/arxiv.2506.00087.

[34] A. Mohamed, Y. Zhang, M. Vazirgiannis, and G. Shang, "Lost in the mix: Evaluating LLM understanding of code-switched text," arXiv, 2025, doi: 10.48550/arxiv.2506.14012.

[35] R. Sheth, S. R. Sinha, M. Patil, H. Beniwal, and M. Singh, "Beyond monolingual assumptions: A survey of code-switched NLP in the era of large language models," arXiv, 2025, doi: 10.48550/arxiv.2510.07037.

[36] G. Winata et al., "Can large language models understand, reason about, and generate code-switched text?," arXiv, 2026, doi: 10.48550/arxiv.2601.07153.

[37] J. Oh, H. Yoo, F. G. Haznitrama, and A. Oh, "OLA: Output language alignment in code-switched LLM interactions," arXiv, 2026, doi: 10.48550/arxiv.2601.03589.

Downloads

Published

05-10-2026

How to Cite

Devita Septian Dwi Hidayati. (2026). Code-switching as a computational problem: modeling Indonesian–English digital talk beyond monolingual assumptions. Indonesian Journal of Computational Language Studies, 1(3), 163-175. https://doi.org/10.67490/ijcl.v1i3.1027

Similar Articles

1-10 of 17

You may also start an advanced similarity search for this article.