arXiv:2609.06963cs.CLSep 2026

Manuscript Offprint

arXiv:2609.06963

TurEngMix: A Text Corpus and Benchmark for Turkish-English Code-Mixed Language Identification and Named Entity Recognition

Ilayda Dogan, Phuong-Anh Nguyen-Le, Julia Mendelsohn

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Natural language processing systems underperform on code-mixed text, particularly for low-resource language pairs. Turkish-English poses a further challenge: it lets English stems combine with Turkish suffixes to form single mixed-language tokens. We introduce TurEngMix, a corpus of 5.5K noisy, naturally occurring social media posts (486,974 tokens) rich in Turkish-English code-mixing. From this corpus, we construct a new Turkish-English benchmark for code-mixed language identification (LID) and named entity recognition (NER), comprising 15K expert-annotated tokens. Evaluating both decoder LLM and fine-tuned encoder baselines, we find that monolingual Turkish and English tokens are labeled reliably, but all models have high error rates on mixed-language tokens for both LID and NER. For morphologically integrated tokens, NER error rates were 5.2x and 6.3x higher for GPT-4o and Qwen, respectively. This highlights how morphological integration remains a challenge. We release the corpus, annotations, and code to support future computational and sociolinguistic research on Turkish-English code-mixing.

1 Introduction

Code-mixing, the use of two or more languages within a single sentence or phrase, is widespread in online spaces and diaspora communities (Poplack, 1980; Androutsopoulos, 2013). It serves a range of linguistic and social functions, including identity signaling, tone-setting, and communicating culturally or technically specific concepts, and takes different structural forms across speaker backgrounds and communicative contexts (Tay, 1989). However, despite its natural role in multilingual communities and growing presence in informal, online settings, code-mixing remains underexplored in natural language processing (NLP), particularly for lower-resourced language pairs (Winata et al.,

TokenGloss
influencerlarımizinfluencer-lar-ımizinfluencer- PL- IPL.POSS'our influencers'
frameworklerininframework- ler-i- ninframework- PL-3PL.POSS-GEN'of their frameworks'
tweetlememesitweet-le- me- me- sitweet- VBLZ-NEG-NMLZ-3SG.POSS'the fact that they do not tweet'

Table 1: Mixed-language tokens with English stems and Turkish suffixes.

2023), reflecting the broader language diversity gap in NLP (Joshi et al., 2020; Pakray et al., 2025).

Existing code-mixing benchmarks are dominated by language pairs such as Spanish-English and Hindi-English (Doğruöz et al., 2021), where code-mixing typically occurs at word boundaries. Turkish, however, presents a markedly different linguistic setting. Its agglutinative morphology allows suffixes expressing case, possession, tense, and other grammatical functions to stack into complex words. In Turkish-English code-mixed discourse, English lexical stems are productively integrated into this structure (Yirmibeşoğlu and Eryiğit, 2018), resulting in mixed-language tokens that combine English roots with Turkish suffixes (examples in Table 1). These naturally occurring forms are linguistically interesting manifestations of bilingual language use that challenge traditional structural constraints of code-mixing (Kemaloglu-Er, 2018) and pose unique difficulties for otherwise simple foundational sequence-labeling tasks such as language identification (LID) and named entity recognition (NER).

These linguistic challenges are compounded by a scarcity of annotated resources. To our knowledge, there is only one publicly available Turkish-English code-mixed text dataset, comprising 391 naturally occurring examples with word-level lan-guage labels (Yirmibeşöğlu and Eryiğit, 2018). We are not aware of any resources for evaluating NER for Turkish-English code-mixing, nor LID with mixed-language tokens. This paper fills that gap and makes the following contributions:

  • TurEngMix: a large-scale corpus of naturally occurring Turkish-English code-mixed social media posts, spanning a diverse range of online topics. Beyond this work, it supports future computational and sociolinguistic study of lexical innovation, code-mixing behavior, and multilingual language use.

  • An annotated Turkish-English benchmark with token-level language and named-entity labels (15K tokens) derived from TurEngMix.

  • A systematic evaluation of decoder LLM and fine-tuned encoder baselines for LID and NER on Turkish-English code-mixed text.

We release the corpus and annotated benchmark under a CC BY-NC-SA 4.0 license for non-commercial use. The corpus, benchmark, code, and preprocessing resources are publicly available. 1 2