Generation of code from text description with syntactic parsing and Tree2Tree model
Date
2018
Authors
Stehnii, Anatolii
Journal Title
Journal ISSN
Volume Title
Publisher
Abstract
Software development requires vast knowledge of different programming tools which cannot be kept in human memory. Therefore software developers often formulate their task in human language to query online knowledge bases like StackOverflow to get short snippets of code. In this work, we explored the way of code generation from natural language description and prepared web API for Python which translates NL descriptions to short snippets of code. Our model implements sequence-to-sequence model with recursive encoder and uses syntactic trees instead of plain sequence on input. Results have not outperformed current state-of-the-art performance. However, presented Tree2Tree model has potential in other applications and this work makes a solid base for a further research.
Description
Keywords
Tree2Tree model, Abstract syntax tree generation, Action probabilities
Citation
Stehnii, Anatolii. Generation of code from text description with syntactic parsing and Tree2Tree model : Master Thesis : manuscript / Anatolii Stehnii ; Supervisor Dr. Rostyslav Hryniv ; Ukrainian Catholic University, Department of Computer Sciences. – Lviv : [s.n.], 2017. – 67 p. : ill.