Speech to Text for Indian Languages: Fix Mixed-Language Calls

Speech to text for Indian languages breaks when one wrong language guess ruins a whole call. Detect per sentence, lock to the main language, redo outliers.

By Bhavesh Deshmukh· · 4 min read

One wrong guess about the language can wreck an entire phone call transcript.

That is what we learned on a recent client project, transcribing recorded phone calls in Indian languages. The old setup detected the language once per call. When that guess was wrong, the whole transcript came out wrong with it. The fix was to detect the language per sentence, lock it to the call’s main language, and redo the stray lines. If you are building voice AI or call analytics for India, this is worth doing before you tune anything else.

Before, one language guess breaks a call transcript. After, each sentence is checked, the call is locked to Kannada and the stray Tamil line is redone.

Why one guess per call is fragile

Most speech to text tools need to know the language before they transcribe. Many can work it out themselves, and that is where the trouble starts. OpenAI’s open-source Whisper, for example, detects the language from up to the first 30 seconds of audio and then uses that answer for the rest of the file. Its paper describes the language as a single token the model predicts before it writes any text.

Now think about a phone call. The first half minute is a greeting, hold music, an IVR prompt or a caller saying “hello, hello” three times. That is a poor sample to judge a whole call by. If it points the wrong way, the transcript follows it. People who have hit this in practice describe the same thing: in a public Whisper discussion, one commenter says it assumes the full audio is in a single language based on that first 30 seconds, and another reports English speech coming out as French text.

The damage is also hard to spot. A transcript that is wrong from line one does not look like an error. It looks like a bad call.

The fix: detect per sentence, then lock

Here is what we changed. We detect the language for each sentence instead of once per call. Then we count which language wins across the call and lock it as the call’s main language. Any sentence that disagrees with the lock is a suspect.

Suspects are not kept. We transcribe them again with the main language forced. So a stray Tamil line in a Kannada call is redone as Kannada, and the transcript reads as one conversation again. Forcing a language is the same idea Whisper offers with its --language option, but applied to the lines that need it rather than to everything.

Why lock instead of trusting each sentence? Because short sentences are the weakest guesses. A two-word reply is easy to misjudge. The call as a whole gives you a far steadier answer, so the majority decides and the odd sentence gets corrected.

Code-switching is not an error

There is one trap here, and it is the reason this post is about India and not about any country. People switch languages mid-call, and they do it on purpose. A caller can move between Hindi, Marathi and English, and the per-sentence method helps exactly there, because each sentence is judged on its own instead of the call being stuck with one label.

Hindi and Marathi lines with English words like order, cancel and parcel are kept as is, while a line in the wrong language for the call is redone.

So the redo rule has to be careful. English words inside a Hindi or Marathi sentence are expected, and they should never trigger a redo. A whole sentence in a language the call never uses is a different thing. Tamil in a Kannada call is almost certainly a wrong detection, so it gets redone. A caller saying “appointment” or “payment” inside a Hindi sentence is just a person talking.

This is also where a plain forced language is not enough. Forcing one language suits a single-language call. As the same Whisper discussion shows, forcing a language did not solve mixed audio for the people who tried it.

What to ask your vendor

If you are buying or building call transcription, ask three things. Is the language detected once per call, or per sentence? What happens to a sentence that disagrees with the rest of the call? And are English words inside Hindi or Marathi treated as normal speech?

Then ask to see a call that switches language, not a clean single-language demo. That test shows you more than any feature list.

I would not claim this removes every error. Noisy lines, rare words and heavy accents are separate problems, and we have not published numbers for this change. What we can say is the shape of the before and after: one bad guess used to break a whole transcript, and now a bad guess breaks one sentence, which then gets fixed.

If you are planning voice AI or call analytics and want a second pair of eyes on the pipeline, our AI product development team builds these. You can also book a call and tell us what your calls sound like.

Frequently asked questions

Why does one wrong language guess ruin a whole call transcript?

Many speech to text setups pick a language once and then transcribe everything in it. If that single guess is wrong, every sentence is decoded in the wrong language, so the whole transcript is damaged, not one line.

What is a majority-language lock?

You detect the language of each sentence, count which language wins across the call, and treat that as the call's main language. Sentences that disagree with it are flagged as suspects.

Should English words inside a Hindi or Marathi call trigger a redo?

No. Indian callers mix English into Hindi and Marathi all the time, and that is normal speech. Redo a line only when a whole sentence lands in a language the call does not use, such as Tamil text in a Kannada call.

Can I just force one language for every call?

Only if your calls really are one language. Forcing a language is fine for a single-language call, but it will not help a caller who moves between Hindi, Marathi and English.

speech-to-textvoice-aiindiacall-analytics

Transform Your Future Today.
Let’s Build It Together.

Schedule your personalized consultation and start innovating. From UI & UX design to web, app, AI and blockchain development, we turn your ideas into reality, fast.

SCHEDULE A CONSULTATION
  • Clutch 5-stars
  • Google 4.7-stars