EduCS: A Mandarin-English Code-Switched Educational Corpus with IPA Annotations for Speech Generation
This paper presents EduCS, a 1,456-hour Mandarin-English code-switched educational corpus for speech generation. To process long-form teaching recordings, we develop a pipeline that combines vocal extraction, speaker diarization, context-aware annotation with a multimodal large language model, and transcript filtering based on automatic speech recognition (ASR). The resulting transcripts preserve rich punctuation, actual spoken forms, and phonetic demonstrations using International Phonetic Alphabet (IPA) annotations. Moreover, we construct EduCS-eval and EduCS-eval-IPA to assess code-switched speech generation and IPA pronunciation accuracy, respectively. To evaluate EduCS, we fine-tune CosyVoice3 with discrete speech tokens and dots.tts-soar with continuous speech representations. Experimental results show improved code-switched intelligibility and naturalness on EduCS-eval. Under matched data duration and training budgets, fine-tuning on a subset of EduCS yields lower word error rates and higher naturalness preference than fine-tuning on TALCS. Besides, models fine-tuned on EduCS achieve substantially higher IPA pronunciation accuracy on EduCS-eval-IPA than the evaluated open-source TTS models that support English phoneme input.