UniCoM: A Universal Code-Switching Speech Generator

Sangmin Lee, Woojin Chung, Seyun Um, Hong-Goo Kang
8/21/2025
cs.CLcs.SDeess.AS

No official code found. Best implementation: sanghyang00/unicom (4 stars, last commit 2025-08-21).

Abstract

Code-switching (CS), the alternation between two or more languages within a single speaker's utterances, is common in real-world conversations and poses significant challenges for multilingual speech technology. However, systems capable of handling this phenomenon remain underexplored, primarily due to the scarcity of suitable datasets. To resolve this issue, we propose Universal Code-Mixer (UniCoM), a novel pipeline for generating high-quality, natural CS samples without altering sentence semantics. Our approach utilizes an algorithm we call Substituting WORDs with Synonyms (SWORDS), which generates CS speech by replacing selected words with their translations while considering their parts of speech. Using UniCoM, we construct Code-Switching FLEURS (CS-FLEURS), a multilingual CS corpus designed for automatic speech recognition (ASR) and speech-to-text translation (S2TT). Experimental results show that CS-FLEURS achieves high intelligibility and naturalness, performing comparably to existing datasets on both objective and subjective metrics. We expect our approach to advance CS speech technology and enable more inclusive multilingual systems.

View on arXivView PDF

Code Implementations(1)

sanghyang00/unicomCommunity65%

Official Implementation of UniCoM: A Universal Code-Switching Speech Generator (EMNLP 2025 Findings)

40Python, Jupyter NotebookAug 21, 20251 years ago

Similar Papers

Cite this paper

@article{lee2025unicom,
  title  = {UniCoM: A Universal Code-Switching Speech Generator},
  author = {Sangmin Lee and Woojin Chung and Seyun Um and Hong-Goo Kang},
  year   = {2025},
  eprint = {2508.15244},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.15244v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.15244.svg)](https://codeofpaper.com/paper/2508.15244)

Discussion