The Impact of Lexical and Grammatical Processing on Generating Code from Natural Language - CNRS - Centre national de la recherche scientifique
Communication Dans Un Congrès Année : 2022

The Impact of Lexical and Grammatical Processing on Generating Code from Natural Language

Résumé

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.

Domaines

Linguistique
Fichier non déposé

Dates et versions

hal-03992308 , version 1 (16-02-2023)

Identifiants

  • HAL Id : hal-03992308 , version 1

Citer

Nathanaël Beau, Benoît Crabbé. The Impact of Lexical and Grammatical Processing on Generating Code from Natural Language. Findings of the Association for Computational Linguistics: ACL 2022, May 2022, Dublin, Ireland. pp.2204-2214. ⟨hal-03992308⟩
33 Consultations
0 Téléchargements

Partager

More