Skip to content
conftrace_
2022 ACL ACL 2022

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

AbstractConsidering 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.

🌉 Interdisciplinary Bridge - Artificial Intelligence and Natural Language Processing
📈 Trend Setter - Code Generation

More from ACL 2022

All ACL 2022 papers →