ACL 2022findings25 citations
The impact of lexical and grammatical processing on generating code from natural language
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.
BibTeX
@inproceedings{beau-crabbe-2022-impact,
title = "The impact of lexical and grammatical processing on generating code from natural language",
author = {Beau, Nathana{\"e}l and
Crabb{\'e}, Benoit},
editor = "Muresan, Smaranda and
Nakov, Preslav and
Villavicencio, Aline",
booktitle = "Findings of the Association for Computational Linguistics: ACL 2022",
month = may,
year = "2022",
address = "Dublin, Ireland",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2022.findings-acl.173/",
doi = "10.18653/v1/2022.findings-acl.173",
pages = "2204--2214"
}