cs.CLMar 27, 2026

EnTaCs: Analyzing the Relationship Between Sentiment and Language Choice in English-Tamil Code-Switching

Authors: Paul Bontempo

Organizations: University of Colorado, Boulder Depts. of Computer Science and Linguistics

Abstract

This paper investigates the relationship between utterance sentiment and language choice in English-Tamil code-switched text, using methods from machine learning and statistical modelling. We apply a fine-tuned XLM-RoBERTa model for token-level language identification on 35,650 romanized YouTube comments from the DravidianCodeMix dataset, producing per-utterance measurements of English proportion and language switch frequency. Linear regression analysis reveals that positive utterances exhibit significantly greater English proportion (34.3%) than negative utterances (24.8%), and mixed-sentiment utterances show the highest language switch frequency when controlling for utterance length. These findings support the hypothesis that emotional content demonstrably influences language choice in multilingual code-switching settings, due to socio-linguistic associations of prestige and identity with embedded and matrix languages.

Figures & tables

Explore similar work

CardsList
  1. Latent Mechanisms of Language Control in Multilingual Language Models

    Aug 31, 2026Ryo Mitsuhashi, Sabri Boughorbel, Majd HawaslyMultilingual Language ModelsMultilingual Language Model Evaluation

  2. A Cross-lingual Comparison of Human and Classification Model Entrainment Behavior in Code-switched Speech Settings

    Jul 28, 2026Debasmita Bhattacharya, Siying Ding, Alayna Nguyen +1Code-SwitchingInterpretable ML