arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2004.06343cs.CLcs.LGcs.SE

Code Completion using Neural Attention and Byte Pair Encoding

Delft University of Technology(代尔夫特理工大学)

Youri Arkesteijn, Nikhil Saldanha, Bastijn Kostense

英文摘要:

In this paper, we aim to do code completion based on implementing a Neural Network from Li et. al.. Our contribution is that we use an encoding that is in-between character and word encoding called Byte Pair Encoding (BPE). We use this on the source code files treating them as natural text without first going through the abstract syntax tree (AST). We have implemented two models: an attention-enhanced LSTM and a pointer network, where the pointer network was originally introduced to solve out of vocabulary problems. We are interested to see if BPE can replace the need for the pointer network for code completion.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑