Shunya LabsShunya LabsPlayground

Horizon Code-Switch · Hindi-English

Hindi-English Speech to Text

Convert conversations that naturally switch between Hindi and English into one continuous, structured transcript. Use Shunya Horizon Code-Switch for Hindi-English customer calls, voice agents, sales conversations, meetings, support workflows, and AI applications - without forcing every language transition through a separate speech-recognition model.

Hindi + English one conversationOne model Horizon Code-SwitchContinuous mixed-language transcriptNo extra model switch mid-sentence
Hindi + English audio in
Hindi + English audioHorizon Code-SwitchContinuous transcript
One transcript for search, agents, CRM, and analytics
Customer callsVoice agentsSales conversationsSupport workflows

Hindi-English STT

Two languages. One conversation. One transcript

These are not separate Hindi and English conversations. They are one mixed-language interaction. Shunya supports Hindi + English through Horizon Code-Switch as one conversation, one model, and one continuous transcript.

One model

Horizon Code-Switch treats Hindi + English as one conversation

Live

Streaming transcription while the person is still speaking

Batch

Complete transcripts for recorded mixed-language audio

Both languages

Hindi and English stay in the same continuous transcript

A real customer might say

मैंने कल payment किया था लेकिन confirmation अभी तक नहीं आया.

A real customer might say

मेरा order deliver हो गया है but app में status अभी भी pending दिखा रहा है.

A real customer might say

Can you मेरा appointment Friday को reschedule कर सकते हो?

Documented path

Hindi + EnglishOne conversationOne modelOne continuous transcript

Basic flow

Hindi + English audioHorizon Code-SwitchContinuous mixed-language transcriptSearch / LLM / Agent / CRM / Analytics / Automation

The transcript can feed

Downstream systems

  • Search
  • LLM
  • Agent
  • CRM
  • Analytics
  • Automation
CapabilityHindi-English STT
Hindi-English Speech to Text
Horizon Code-Switch
Continuous Mixed-language Transcript
Devanagari Hindi
Romanised Hindi
Streaming Transcription
Batch Transcription
Speaker Diarization
Speaker Identification
Word-level Timestamps
Confidence Scores
Telephony Audio
Intent Detection
Sentiment Analysis
Emotion Detection
Summarisation
Redaction
API Integration
Self-hosted Deployment

Try it yourself

Test real Hindi-English speech

Use actual mixed conversations, not a single clean sentence.

Mixed conversation

मेरा payment status अभी भी pending है.

Mixed conversation

Delivery हो गई but app में update नहीं हुआ.

Mixed conversation

I want to cancel मेरा current order.

Mixed conversation

Account login नहीं हो रहा, please help.

Mixed conversation

Pricing ठीक है but implementation timeline क्या है?

Test with

Speech closer to production

  • Customer calls
  • Sales calls
  • Voice-agent requests
  • Meetings
  • Support conversations
  • Phone recordings
  • Names
  • Numbers
  • Product terminology
  • Addresses

Why Hindi-English needs Code-Switch

Language switching is partof the sentence

Traditional multilingual systems may detect a language, switch models, and merge the result afterwards.Repeated language transitions are a common place where context can be lost.Code-Switch treats the conversation as multilingual from the start.

Traditional approach

Detect, switch, merge

Detect HindiSwitch modelDetect EnglishSwitch againMerge transcript

Code-Switch approach

One model from the start

Hindi + English speechOne modelOne continuous transcript

Hindi-English vs Hinglish

Same language pair, different search intent

Hinglish Speech to Text and Hindi-English Speech to Text describe the same core mixed-languageproblem: Hindi + English speech. The difference is mainly how users may search for it. Bothpoint to horizon-codeswitch for speech that naturally mixes Hindi and English.

Hinglish

Conversational term

How people often name speech that mixes Hindi and English.

Hindi-English Speech to Text

Descriptive product term

How teams search for the same Hindi + English recognition problem.

Same recognition path

Hindi + English speechhorizon-codeswitchOne continuous transcript

Preserve both languages

Do not force the sentence into one language

मैंने payment किया but confirmation नहीं आया. The English words do not need to be translated into Hindi.The Hindi words do not need to be translated into English. The transcript reflects what was spoken.

Input to output

Hindi + English speechHindi + English transcript

Hindi-English STT is not translation

Preserve the original conversation first

  • Transcription: speech to text
  • Translation: text to another language

Example: Payment हो गया but order confirm नहीं हुआ. Speech to text should return the spoken content. It should not automatically convert the sentence into only English or only Hindi unless a separate translation layer is added.

Real-time Hindi-English transcription

Process mixed speech while it happens

Horizon supports streaming transcription for real-time speech applications.मेरा order कहाँ है, can you check?

Live flow

User speaksHorizon Code-SwitchInterim transcriptFinal transcriptApplication

Use for

Interactive workflows

  • Voice agents
  • Agent assist
  • Customer support
  • Interactive IVR
  • Real-time assistants
  • Live AI applications

Batch Hindi-English transcription

Process recorded mixed-language audio

Recorded Hindi-English audio can be used in batch transcription workflows.Use streaming when the application must react immediately.Use batch when the recording is already complete.

Recorded customer call / meeting / interviewHorizon Code-SwitchComplete transcriptOptional intelligence

Use batch for

Audio that already exists

  • Recorded calls
  • Meetings
  • Interviews
  • Voice notes
  • Research
  • Post-call analytics
  • Media

Streaming vs batch

Choose the mode according towhen the text is needed

RequirementStreamingBatch
Live Hindi-English
Recorded Hindi-English
Partial Transcript
Complete Transcript
Voice Agents
Agent Assist
Post-call Intelligence
WebSocket
HTTP API

Automatic language detection

Useful, but mixed-language speechis a different problem

The broader Horizon platform supports automatic language detection. For short Hindi-only audio, werecommend explicitly setting Hindi because automatic detection has less context. For knownHindi-English mixed conversations, use the dedicated Code-Switch path rather thanexpecting repeated auto-detection to replace mixed-language recognition.

Short Hindi-only audioSet Hindi explicitlyKnown Hindi-English mixhorizon-codeswitch

Mixed script output

Hindi and English can remain visually distinct

Hindi is normally represented in Devanagari. English is normally represented in Latin script. आपका payment successfullyprocess हो गया है. This preserves the original language composition more naturally than converting everythinginto one script. Horizon separates language from script representation.

Native

नमस्ते, आप कैसे हैं?

Devanagari for Hindi. Latin for English.

Latin · output_script=Latin

Namaste, aap kaise hain?

This is transliteration. It is not translation. The Hindi language remains Hindi.

Script control options

Documented Hindi script controls

  • Devanagari
  • Latin
  • ITRANS
  • Bengali
  • Telugu
  • Tamil
  • Kannada

Native mixed output

Keep each language in its script

Hindi → DevanagariEnglish → Latin

Romanised Hindi workflow

Latin script for both

Hindi → LatinEnglish → Latin

Transliteration is not translation. नमस्ते becomes Namaste when the script changes. नमस्ते becomes Hello when the language changes. Choose the script according to the application interface and downstream requirements.

Horizon Code-Switch

The dedicated route for mixedHindi-English speech

The model should follow how users actually speak rather than how the application expects them to speak.

Hindi-first speech

horizon-indic

मुझे अपने order की जानकारी चाहिए. Use horizon-indic when the conversation is primarily Hindi.

Hindi + English

horizon-codeswitch

मुझे अपने order का status check करना है. Use horizon-codeswitch when Hindi and English mix inside the conversation.

Best for

Listed directly in the Shunya material

  • Hinglish calls
  • Voice agents
  • Customer support
  • Sales conversations

Indian proper nouns

A readable transcript can still fail on one critical word

A Hindi-English conversation may combine these names with English terminology. Aadhaar verification completeहै but account status pending है. Production testing should include real organisational vocabulary.

Business-important vocabulary

Names and schemes to test

  • Aadhaar
  • Ayushman Bharat
  • UPI
  • Gurugram
  • Ghaziabad
  • Noida Sector 62
  • Pradhan Mantri Awas Yojana

Production testing

Use the words from the real workflow

  • Real names
  • Real locations
  • Real schemes
  • Real product names
  • Real organisational vocabulary

Numbers and structured details

Calls often contain data the application must preserve

Test real number patterns, not only conversational sentences.

Examples

Spoken identifiers

  • Order ID 48217 है.
  • Appointment 18 October को है.
  • Amount 3500 rupees deduct हुआ.
  • Ticket number 89421 check करिए.
SpeechHorizonTranscriptBusiness workflow

Speaker diarization

Keep speaker turns separate

Shunya supports speaker diarization for Hindi and the broader STT platform.

SPEAKER_00

मैंने कल payment किया but confirmation नहीं आया.

SPEAKER_01

ठीक है, मैं account details check करता हूँ.

SPEAKER_00

Transaction number 48217 है.

Use for

Conversations with more than one speaker

  • Customer calls
  • Meetings
  • Sales
  • Interviews
  • Support QA
  • Conversation analytics

Speaker identification

Resolve known speakers where configured

Diarization may give SPEAKER_00 and SPEAKER_01. Registered voice profiles can resolve recognised speakers where speaker identification is enabled.Speaker identification should not be presented as KYC or legal identity verification.

Before

SPEAKER_01

मैं account check करता हूँ.

After

Agent Priya

मैं account check करता हूँ.

Word-level timestamps

Connect words back to the audio

Shunya supports per-word output containing start time, end time, and confidence.

Per-word output

Timing fields

  • Start time
  • End time
  • Confidence

Use for

Finding the moment in the audio

  • Search
  • Call review
  • Meeting playback
  • QA
  • Captions
  • Media editing

Search

paymentTranscript matchTimestampAudio playback

Confidence scores

Find transcript areas that may need review

Confidence information can help identify words that deserve manual review. It is not a guarantee of correctness.

Mixed-language speech may contain

Words that deserve a second look

  • Names
  • Locations
  • Acronyms
  • Brands
  • Product terms
  • Government schemes
  • Financial vocabulary

Customer support

Mixed-language support is normal

Shunya explicitly lists customer support as a Code-Switch use case.

Customer

Payment deduct हो गया but order confirm नहीं हुआ.

Customer

मेरा delivery address change करना है.

Customer

Account block हो गया है, please unlock it.

Customer speechHorizon Code-SwitchContinuous transcriptSupport systemCRM / Search / QA / Agent Assist

Voice agents

The listening layer for bilingualconversational AI

Voice agents are among the Hindi-English Code-Switch use cases Horizon supports.

User

मेरा appointment Monday से Wednesday shift कर दो.

Horizon Code-Switch

Mixed-language transcript

LLM / agent

Understands request

Application

Performs permitted action

TTS

Responds to user

Real-world use cases

Hindi-English speech wherever a conversationmixes both languages

Contact centers

English business words inside Hindi-English calls

  • Account
  • Payment
  • Refund
  • Order
  • Status
  • Verification
  • Delivery
  • Ticket
  • Support
  • Login
  • Complaint

Sales conversations

Sales language frequently moves between Hindi and English

Sales conversations are a supported Hindi-English Code-Switch use case.

  • Product अच्छा है but pricing high लग रही है.
  • Demo ठीक था, implementation कितने days लेगा?
  • Annual plan में discount available है?

Sales call → Horizon Code-Switch → Transcript → CRM / Sales analytics / LLM

Contact centers

Business terminology is often English

Forcing a call into only Hindi or only English can lose information.

  • Account
  • Payment
  • Refund
  • Order
  • Status
  • Ticket

Call → Horizon Code-Switch → Speaker-aware transcript → QA / CRM / Search / Analytics

Meetings

Teams often change language without noticing

The language transition is part of the conversation rather than an error condition.

  • आज launch timeline final करनी है.
  • Backend ready है but QA अभी pending है.
  • Okay, Friday तक final sign-off कर लेते हैं.

Meeting → Horizon Code-Switch → Continuous transcript → Speakers → Timestamps → Search / AI / Notes

Customer support

Mixed-language issue reporting

Shunya explicitly lists customer support as a Code-Switch use case.

  • Payments
  • Orders
  • Accounts
  • Delivery

Customer speech → Horizon Code-Switch → Support system

Banking

Payment, account, transaction, and UPI terminology

Hindi-English banking calls keep English product words beside Hindi.

  • Payment
  • Account
  • Transaction
  • UPI

Call → Horizon Code-Switch → Transcript → CRM / QA

E-commerce

Order, refund, delivery, address, and status

Shoppers describe delivery and payment problems in both languages.

  • Order
  • Refund
  • Delivery
  • Address
  • Status

Customer speech → Transcript → Support / Search

Voice search

Natural mixed queries

A query can start in Hindi and finish with an English product or place name.

  • Mixed queries
  • Product names
  • Locations

Speech → Horizon Code-Switch → Search

Field applications

Speech input where typing is inconvenient

Field teams can capture a mixed-language note without switching keyboards.

  • Voice notes
  • Field updates
  • Addresses

Speech → Transcript → Application

Phone and recorded audio

Hindi-English speech is commonon phone calls

The broader Horizon platform supports streaming audio including int16 PCM, float32, μ-law, and A-law.Use the streaming API for live conversations.

Live

Streaming audio

  • int16 PCM
  • float32
  • μ-law
  • A-law

Batch

Recorded audio formats

  • WAV
  • MP3
  • M4A
  • OGG
  • FLAC
  • WebM
Telephony audioHorizon Code-SwitchHindi-English transcriptAgent / Voice agent / CRM
Recorded callHorizonStructured transcript

Post-call intelligence

The transcript can become structuredconversation data

Intent, sentiment, emotion, summarisation, and redaction are optional batch enrichment capabilities.

Intent

Sentiment

Emotion

Summary

Redaction

Batch today

Hindi-English audioTranscriptOptional intelligenceCRM / Analytics / Search / LLM

Intent detection

Intent detection

Understand the customer's goal. Shunya supports intent detection as part of optional batch intelligence. The application defines the intent taxonomy.

  • मेरा order cancel करना है.
  • Payment status check करना है.
  • Human agent से बात करनी है.

Transcript → Intent → Workflow

Sentiment analysis

Sentiment analysis

Shunya's optional intelligence layer includes sentiment analysis. Sentiment should supplement the transcript rather than replace the speaker's words.

  • QA
  • Escalation review
  • Customer experience
  • Sales analysis
  • Support coaching

Emotion analysis

Emotion analysis

Emotion detection is also included in Shunya's optional transcript intelligence. Emotion is an inferred signal.

  • Call review
  • QA
  • Coaching
  • Research

Summarisation

Summarisation

Reduce long Hindi-English conversations into key points. Summarisation is part of Shunya's supported batch enrichment capabilities.

  • Customer problem
  • Product or account
  • Payment details
  • Resolution
  • Follow-up
  • Next step

Audio → Hindi-English transcript → Summary → CRM / Analytics / Search

Redaction

Redaction

Mask configured sensitive terms. Organisation-defined keyword redaction is supported. Redaction remains one component of a broader data-governance strategy.

  • Banking
  • Contact centers
  • CRM
  • QA
  • Analytics

Original transcript → Sensitive term → Configured mask → Redacted transcript

Developers

Route mixed Hindi-English speech through Horizon Code-Switch

Horizon supports horizon-indic for Hindi-first speech and horizon-codeswitch for Hindi + English. Live audio uses a WebSocket workflow that returns partial and final transcripts. Recorded mixed-language audio uses the HTTP transcription workflow.

hindi-english-transcription.txt

POST /v1/audio/transcriptions

{
  "model": "horizon-codeswitch",
  "file": "hindi-english-recording.wav"
}

Hindi-first

horizon-indic

Hindi + English

horizon-codeswitch

Structured output can include

Documented developer fields

  • Text
  • Segments
  • Detected language information
  • Speaker labels
  • Word timestamps
  • Confidence
  • Intent
  • Sentiment
  • Emotion
  • Summary

Live

Audio streamWebSocketHorizon Code-SwitchPartial + final transcript

Batch

Recorded mixed-language audioHTTP transcription workflowStructured transcript
Explore the Speech to Text API

Why single-language ASR is not enough

The conversation itself is bilingual

मेरा account login नहीं हो रहा. Hindi-only ASR must handle account and login. English-only ASR must handle मेराand नहीं हो रहा. Shunya provides a dedicated Code-Switch model for Hindi + English.

One sentence, two languages

Words each single-language model would have to absorb

  • account
  • login
  • मेरा
  • नहीं हो रहा

Hindi-English / Hinglish

Two languages

Hindi + English. Example: मेरा payment pending है.

Romanised Hindi

One language, Latin script

Hindi written in Latin script. Example: Mera bhugtan baki hai. Romanised Hindi is separate from Code-Switch.

Evaluate before production

Test Hindi-English on yourown Calls

Mixed-language calls, phone audio, names, numbers, and regional pronunciation should drive your evaluation.

Test your own mixed audio

Evaluate using production speech

  • Real customer calls
  • Phone audio
  • Hindi-English switching
  • Names
  • Product terminology
  • Numbers
  • Multiple speakers
  • Regional pronunciation

Self-hosted deployment

Speech data may need greaterinfrastructure control

The broader Shunya STT documentation includes self-hosted deployment as a production capability.Exact architecture should follow current deployment documentation.

This can be relevant where organisations require

Deployment control

  • Private infrastructure
  • Data residency
  • Controlled speech processing
  • Additional deployment governance

Built for production

Beyond one bilingual sentence

A production Hindi-English STT workflow may need recognition, script choice, streaming, batchprocessing, speaker structure, telephony, intelligence, APIs, and deployment flexibility.

A production workflow may need

More than a single demo clip

  • Hindi + English recognition
  • Horizon Code-Switch
  • Continuous mixed-language transcription
  • Devanagari output
  • Latin-script option for Hindi
  • Streaming transcription
  • Batch transcription
  • Speaker diarization
  • Speaker identification
  • Word timestamps
  • Confidence scores
  • Phone audio
  • Proper nouns
  • Intent
  • Sentiment
  • Emotion
  • Summarisation
  • Redaction
  • API integration
  • Self-hosted deployment
RequirementHorizon
Hindi-English Speech to Text
Horizon Code-Switch
Continuous Mixed-language Transcript
Devanagari Hindi
Romanised Hindi
Streaming Transcription
Batch Transcription
Speaker Diarization
Speaker Identification
Word-level Timestamps
Confidence Scores
Telephony Audio
Intent Detection
Sentiment Analysis
Emotion Detection
Summarisation
Redaction
API Integration
Self-hosted Deployment
Hindi + English speechHorizon Code-SwitchOne continuous transcript

One continuous transcript can go to

The rest of the application

  • Search
  • CRM
  • Analytics
  • LLM
  • Voice Agent
  • Knowledge Base

Questions

Frequently Asked Questions

What is Hindi-English Speech to Text?

It converts speech containing both Hindi and English into one continuous written transcript.

Does Shunya support Hindi-English speech?

Yes. Hindi + English is supported through Horizon Code-Switch.

Which model should I use?

For naturally mixed Hindi-English speech: horizon-codeswitch.

What should I use for Hindi-only speech?

For primarily Hindi audio: horizon-indic.

Is Hindi-English Speech to Text the same as Hinglish STT?

They describe the same core Hindi + English mixed-language recognition problem.

Can Hindi and English stay in the same transcript?

Yes. Shunya explicitly states that Hindi + English can remain Hindi + English rather than forcing the entire sentence into one language.

Can Hindi remain in Devanagari?

Yes. Native Hindi transcription can be represented in Devanagari.

Can Hindi be Romanised?

Yes. Shunya supports output_script=Latin for Romanised Hindi.

Is Romanisation translation?

No. It changes script, not language.

Can Hindi-English speech be transcribed live?

Yes. Horizon supports streaming WebSocket transcription.

Can recorded mixed-language calls be transcribed?

Yes. Batch transcription can process recorded speech.

Can the transcript show different speakers?

Yes. Speaker diarization assigns speaker labels.

Can known speakers be identified?

Registered speaker profiles can be used with speaker identification where configured.

Can word-level timestamps be returned?

Yes. Verbose output can include word start time, end time, and confidence.

Can Hindi-English STT be used for customer support?

Yes. Customer support is explicitly listed as a Code-Switch use case.

Can it be used for voice agents?

Yes. Voice agents are explicitly listed among the recommended workflows.

Can it be used for sales calls?

Yes. Sales conversations are a supported Hindi-English Code-Switch use case.

Can the transcript include intent?

Yes. Intent detection is available in supported batch intelligence workflows.

Can sentiment be analysed?

Yes. Sentiment analysis is part of the optional intelligence layer.

Can emotion be analysed?

Yes. Emotion detection is also supported.

Can conversations be summarised?

Yes. Summarisation is supported in batch workflows.

Can sensitive information be redacted?

Yes. Custom keyword redaction can be configured.

Does the 11.9% Hindi WER apply to Hindi-English Code-Switch?

No. That figure is a Hindi benchmark for Horizon Indic and should not be reused as a Code-Switch benchmark.

Does Shunya publish a dedicated Hindi-English word error rate?

Shunya does not publish a dedicated Hindi-English Code-Switch word error rate. Test it on your own audio.

Can Hindi-English STT work with phone audio?

The broader Horizon platform supports telephony-oriented formats including μ-law and A-law.

Can it be self-hosted?

The broader Horizon platform includes self-hosted deployment options.

Is Hindi-English STT translation?

No. It transcribes mixed-language speech as spoken. Translation is a separate layer.

Get started

Transcribe Hindi + English as one conversation

Your customers do not switch speech engines every time they switch languages. Your STT should not need to either. Use HorizonCode-Switch to process Hindi-English customer calls, sales conversations, meetings, support requests, voice-agent interactions,and real mixed-language speech as one continuous transcript. Test the speech your users actually produce- Hindi, English, names, products, payments, numbers, phone audio, and natural language switching.