Chandomitra: Towards Generating Structured Sanskrit Poetry from Natural Language Inputs

Manoj Balaji Jagadeeshan, Samarth Bhatia, Pretam Ray, Harshul Raj Surana, Akhil Rajeev P, Priya Mishra, Annarao Kulkarni, Ganesh Ramakrishnan, Prathosh Ap, Pawan Goyal


Abstract
Text Generation has achieved remarkable performance using large language models. It has also been recently well-studied that these large language models are capable of creative generation tasks but prominently for high-resource languages. This prompts a fundamental question: Is there a way to utilize these (large) language models for structured poetry generation in a low-resource language, such as Sanskrit? We present Chandomitra, an English input to structured Sanskrit Poetry translation dataset, specifically adhering to the Anushtubh meter. We benchmark various open and closed models, and scrutinize specialized techniques such as constrained decoding and instruction fine-tuning, for the proposed task. Our constrained decoding methodology achieves 99.86% syntactic accuracy in generating metrically valid Sanskrit poetry, outperforming GPT-4o (1-shot: 31.24%). Our best-performing instruction-tuned model, on the other hand, performs better in semantic coherence with the English input, at the expense of slightly lower syntactic accuracy. Human evaluation further reveals that instruction fine-tuned model is better able to capture the poetic aspects.
Anthology ID:
2026.eacl-long.24
Volume:
Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers)
Month:
March
Year:
2026
Address:
Rabat, Morocco
Editors:
Vera Demberg, Kentaro Inui, Lluís Marquez
Venue:
EACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
518–534
Language:
URL:
https://preview.aclanthology.org/manual-author-scripts/2026.eacl-long.24/
DOI:
Bibkey:
Cite (ACL):
Manoj Balaji Jagadeeshan, Samarth Bhatia, Pretam Ray, Harshul Raj Surana, Akhil Rajeev P, Priya Mishra, Annarao Kulkarni, Ganesh Ramakrishnan, Prathosh Ap, and Pawan Goyal. 2026. Chandomitra: Towards Generating Structured Sanskrit Poetry from Natural Language Inputs. In Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 518–534, Rabat, Morocco. Association for Computational Linguistics.
Cite (Informal):
Chandomitra: Towards Generating Structured Sanskrit Poetry from Natural Language Inputs (Jagadeeshan et al., EACL 2026)
Copy Citation:
PDF:
https://preview.aclanthology.org/manual-author-scripts/2026.eacl-long.24.pdf
Checklist:
 2026.eacl-long.24.checklist.pdf