Modeling Topics and Sociolinguistic Variation in Code-Switched Discourse: Insights from Spanish-English and Spanish-Guaraní
Tyagi, Nemika, Guevara, Nelvin Licona, Kellert, Olga
–arXiv.org Artificial Intelligence
This study presents an LLM-assisted annotation pipeline for the sociolinguistic and topical analysis of bilingual discourse in two typologically distinct contexts: Spanish-English and Spanish-Guaraní. Using large language models, we automatically labeled topic, genre, and discourse-pragmatic functions across a total of 3,691 code-switched sentences, integrated demographic metadata from the Miami Bilingual Corpus, and enriched the Spanish-Guaraní dataset with new topic annotations. The resulting distributions reveal systematic links between gender, language dominance, and discourse function in the Miami data, and a clear diglossic division between formal Guaraní and informal Spanish in Paraguayan texts. These findings replicate and extend earlier interactional and sociolinguistic observations with corpus-scale quantitative evidence. The study demonstrates that large language models can reliably recover interpretable sociolinguistic patterns traditionally accessible only through manual annotation, advancing computational methods for cross-linguistic and low-resource bilingual research.
arXiv.org Artificial Intelligence
Dec-4-2025
- Country:
- Europe > United Kingdom
- England > Cambridgeshire > Cambridge (0.05)
- North America > United States
- Arizona (0.04)
- South America
- Chile > Santiago Metropolitan Region
- Santiago Province > Santiago (0.04)
- Paraguay > Asunción
- Asunción (0.04)
- Chile > Santiago Metropolitan Region
- Europe > United Kingdom
- Genre:
- Research Report > New Finding (0.46)
- Industry:
- Education (0.68)
- Health & Medicine (0.70)
- Law (0.68)
- Technology: