Abstract
Generating computer code from natural language descriptions has been a long-standing problem. Prior work in this domain has restricted itself to generating code in one shot from a single description. To overcome this limitation, we propose a system that can engage users in a dialog to clarify their intent until it has all the information to produce correct code. To evaluate the efficacy of dialog in code generation, we focus on synthesizing conditional statements in the form of IFTTT recipes.- Anthology ID:
- I17-2030
- Volume:
- Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 2: Short Papers)
- Month:
- November
- Year:
- 2017
- Address:
- Taipei, Taiwan
- Editors:
- Greg Kondrak, Taro Watanabe
- Venue:
- IJCNLP
- SIG:
- Publisher:
- Asian Federation of Natural Language Processing
- Note:
- Pages:
- 175–180
- Language:
- URL:
- https://aclanthology.org/I17-2030
- DOI:
- Cite (ACL):
- Shobhit Chaurasia and Raymond J. Mooney. 2017. Dialog for Language to Code. In Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 175–180, Taipei, Taiwan. Asian Federation of Natural Language Processing.
- Cite (Informal):
- Dialog for Language to Code (Chaurasia & Mooney, IJCNLP 2017)
- PDF:
- https://preview.aclanthology.org/nschneid-patch-2/I17-2030.pdf