Voice-to-Code Generation in Eleven Indian Languages: Code-Switching, Intent Classification, and Template-Based Synthesis for Multilingual Developer Accessibility

Read full text Summarise with VIRAT
Authors: Anil Kumar Sharma
Cited by: 0

Summary

No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.

Summarise with VIRAT Free to try with your Science Catalogs account.

Abstract

This paper constitutes a defensive publication establishing prior art for the Swayam Voice-to-Code system — a platform that converts spoken developer commands in eleven Indian languages directly into executable source code. The system was designed and built by PowerPbox IT Solutions Pvt. Ltd. as part of the Swayam developer productivity platform. This publication establishes a prior art timestamp for the technical innovations described herein. No patent protection is sought; the purpose is to place this work in the public domain such that no subsequent party may obtain patent rights over the described inventions. The Swayam Voice-to-Code system is motivated by a documented accessibility gap: India has an estimated five million or more software developers working outside the major metropolitan centres, many of whom possess stronger proficiency in their regional language than in English. All dominant code-generation tools — GitHub Copilot, Amazon CodeWhisperer, AlphaCode — accept only English-language input. This creates a structural disadvantage for regional-language-dominant developers that cannot be resolved by translation alone, because Indian developer speech naturally interleaves regional language grammar with English technical vocabulary (a phenomenon termed code-switching). The system addresses this gap through three principal technical contributions: (1) a code-switching NLP model that preserves English technical terms (API, JWT, async, await, callback, endpoint) while parsing the surrounding regional language command structure; (2) a six-taxonomy code intent classifier that maps spoken utterances to one of CREATE_FUNCTION, CREATE_CLASS, GENERATE_TEST, FIX_BUG, GENERATE_QUERY, or CREATE_ENDPOINT; and (3) a template-based code synthesis engine that fills named entity slots extracted by a code-entity NER model. The system maintains cross-utterance context for anaphoric reference resolution, enabling chained commands across a development session. A real-time p

Fields of Study & Subjects

Software Engineering Research Speech and dialogue systems Natural Language Processing Techniques

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
25 March 2026
Language
EN
Document type
Preprint