The impact of lexical and grammatical processing on generating code from natural language

9Citations
Citations of this article
49Readers
Mendeley users who have this article in their library.

Abstract

Considering the seq2seq architecture of Yin and Neubig (2018) for natural language to code translation, we identify four key components of importance: grammatical constraints, lexical preprocessing, input representations, and copy mechanisms. To study the impact of these components, we use a state-of-the-art architecture that relies on BERT encoder and a grammar-based decoder for which a formalization is provided. The paper highlights the importance of the lexical substitution component in the current natural language to code systems.

Cite

CITATION STYLE

APA

Beau, N., & Crabbé, B. (2022). The impact of lexical and grammatical processing on generating code from natural language. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (pp. 2204–2214). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2022.findings-acl.173

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free