HackerPapers

arXiv:1910.11471cs.CL

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

K. M. Tahsin Hassan Rahit, Rashidul Hasan Nabil, Md Hasibul Huq

HN submission. Found in a submission link or body. Submitters do not count as commenters in the main ranking; a submission is not an endorsement.

Abstract

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.

arXiv comments
8 pages, 3 figures, conference
Journal reference
Proceedings of the Future Technologies Conference (FTC) 2019. Advances in Intelligent Systems and Computing, vol 1069. Springer, Cham
DOI
doi:10.1007/978-3-030-32520-6_6
Subjects
cs.CLComputation and Language cs.AIArtificial Intelligence cs.PLProgramming Languages

On Hacker News

No comments linking this paper were found in the collected sources. Found in 1 HN submission from Oct 2019 to Oct 2019. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments0 threads

No comments linking this paper were found in the collected sources. Open submission discussions.

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.