Speech AI field guide

Arabic–English Code-Switching Speech Recognition

Evaluate what happens when a speaker changes language during a call. Start with mixed-language recordings from your workflow and agree on how both languages should appear in the transcript.

Separate the cases you need to recognize

Build separate groups for Arabic-only speech, English-only speech, switches between sentences, and switches inside a sentence. Include names and technical terms that callers routinely use. Keep a record of dialect and recording channel so an aggregate score does not hide a weak segment.

Research treats Arabic–English code-switching as a distinct speech-recognition problem. Ali and colleagues study multilingual modeling and decoding approaches for this setting; their results are not a benchmark for UnidataLab.

Reference: Ali et al., Arabic Code-Switching Speech Recognition using Monolingual Data.

Write a reference-transcript policy

Decide when English terms should remain in Latin script and how reviewers should handle abbreviations, numbers, and borrowed words. Give reviewers examples of accepted spellings before they transcribe the evaluation set. Keep the original reference and a separate scoring-normalized version.

If the desired output is a transcript, mark unwanted translation as a review issue. A fluent paraphrase may look readable while losing the words actually spoken.

Use a test matrix

Use a test matrix
Recording groupWhat to inspectRecord for each model
Arabic-only controlDialect words and namesRecognition errors and latency
English-only controlTerms from the same business domainRecognition errors and latency
Between-sentence switchThe first words after a language changeDropped or substituted words
Within-sentence switchMixed-language phrases and abbreviationsOriginal wording and script choice

Turn errors into the next experiment

Review errors near language transitions separately from errors throughout the recording. Keep the same held-out audio when comparing model configurations. Record model version, decoding settings, and transcript policy alongside the results.

UnidataLab's existing speech offering includes work on Arabic–English code-switching and tuning to customer audio. Share representative examples and the transcript policy to scope an evaluation; model suitability is established on that data.

Put the guide into practice

Compare transcripts with the WER calculator.

Listen to Arabic voice samples, review the call-center evaluation process, or explore on-premise delivery.

Continue reading