Arthasetu: A Neural Framework for Low-Resource Sanskrit–Hindi Machine Translation
DOI:
https://doi.org/10.67440/ahj.v21i14s.4076Keywords:
Sanskrit–Hindi Translation, Neural Machine Translation, BiLSTM, Encoder–Decoder Architecture, Low-Resource NLP, Sanskrit NLP, Compound Splitting, Seq2Seq Translation, Arthasetu, Classical Language Processing, Educational chatbot, Semantic preservationAbstract
Even though Neural Machine Translation (NMT) has reached state-of-the-art performance for the majority of high-resource language pairs, it is not very effective for low-resource classical languages. Sanskrit–Hindi translation is one of the most difficult kinds of translation, due to the complex linguistic properties of Sanskrit, such as rich morphology (which usually increases word order freedom), large compound formations (samāsa), and the scarcity of high-quality parallel corpora. The study highlights the inadequacy of existing multilingual NMT systems in capturing the semantic fidelity of philosophical and scriptural Sanskrit texts, while simultaneously calling for linguistically informed translation frameworks that aim to bridge this gap with minimal resource requirements. To overcome this issue, we present a novel Sanskrit–Hindi Neural Machine Translation framework, Arthasetu, based on a Bidirectional Long Short-Term Memory (BiLSTM) encoder–decoder architecture that leverages intra-word morphology by incorporating compound information at the input. The proposed framework uses a two-pronged input augmentation approach where each Sanskrit sentence is represented in both its original format and using the manually segmented, compound-aware representation that allows for better semantic decomposition, context learning, and translation of compound-rich expressions. To facilitate model training and evaluation, we created a manually curated Sanskrit–Hindi parallel corpus of around 11,000 aligned sentence pairs from classical Sanskrit literature (e.g., the Mahabharata), Jain philosophical texts such as the Sarvāstivāda Abhidharma-saṅghaṭa, scriptural writings, devotional compositions, and traditional prose. We analyzed its practical performance using metrics such as BLEU, METEOR, chrF++, and token-level accuracy, which yielded promising results on domain-specific Sanskrit–Hindi translation. Our comparative analysis additionally shows that greedy decoding leads to smaller semantic variations in the translated sentence, in contrast to beam-search decoding, where the translations tend to deviate more from one another under the explored low-resource regime. For real-world deployment, Arthasetu was implemented via Gradio, hosting an express translation interface within an interactive educational chatbot, providing a conversational interface for Sanskrit–Hindi translations as well as language learning and retention assistance in real-time. The proposed framework addresses the challenge of effective and computationally efficient low-resource Sanskrit–Hindi Neural Machine Translation, while aiding ongoing research in Sanskrit Natural Language Processing and providing AI-assisted preservation of Classical Indian linguistic heritage.

