Bibliographic description:
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.
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.