2017 · 535 citations · 55 references
ComputingComputer ScienceComputational LinguisticsNatural Language ProcessingSyntaxCode GenerationNatural Language GenerationParsingSyntactic AnalysisSyntactic ParsingSyntax ParsingAutomated Text GenerationLanguage GenerationLanguage ParsingNatural Language InterfacesNeural ParsingProgram-to-text GenerationSemantic ParsingSyntax-directed Code Generation
We consider the problem of parsing natural language descriptions into source code written in a general-purpose programming language like Python. Existing datadriven methods treat this problem as a language generation task without considering the underlying syntax of the target programming language. Informed by previous work in semantic parsing, in this paper we propose a novel neural architecture powered by a grammar model to explicitly capture the target syntax as prior knowledge. Experiments find this an effective way to scale up to generation of complex programs from natural language descriptions, achieving state-of-the-art results that well outperform previous code generation and semantic parsing approaches.
55
Sepp Hochreiter, Jürgen Schmidhuber · Neural Computation · 1997 · 98.1K citations
Semantic Parsing on Freebase from Question-Answer Pairs
Jonathan Berant, Andrew Chou, Roy Frostig et al. · 2013 · 1.6K citations · Full text
Incorporating Copying Mechanism in Sequence-to-Sequence Learning
Jiatao Gu, Zhengdong Lu, Hang Li et al. · 2016 · 1.4K citations · Full text
Oriol Vinyals, Meire Fortunato, Navdeep Jaitly · Neural Information Processing Systems · 2015 · 1.3K citations