about
Machine Translation from Natural Language to Code Using Long-Short Term Memory (arxiv.org)
1 point by arvindd on Oct 28, 2019 | hide | past | pdf | discuss on HN

In plain words: A neural network with built-in memory reads plain-English descriptions of what a program should do and writes the matching code automatically. It produced correct code 74.4% of the time, a step toward letting people program in everyday language.

Abstract · Machine Translation from Natural Language to Code using Long-Short Term Memory

Making computer programming language more understandable and easy for the human is a longstanding problem. From assembly language to present day's object-oriented programming, concepts came to make programming easier so that a programmer can focus on the logic and the architecture rather than the code and language itself. To go a step further in this journey of removing human-computer language barrier, this paper proposes machine learning approach using Recurrent Neural Network (RNN) and Long-Short Term Memory (LSTM) to convert human language into programming language code. The programmer will write expressions for codes in layman's language, and the machine learning model will translate it to the targeted programming language. The proposed approach yields result with 74.40% accuracy. This can be further improved by incorporating additional techniques, which are also discussed in this paper.

K. M. Tahsin Hassan Rahit, Rashidul Hasan Nabil, Md Hasibul Huq
arXiv:1910.11471 · cs.CL, cs.AI, cs.PL · submitted Oct 25, 2019
abstract · pdf · html · 8 pages, 3 figures, conference

add comment on HN