Corpus ID: 215754320

Code Completion using Neural Attention and Byte Pair Encoding

  title={Code Completion using Neural Attention and Byte Pair Encoding},
  author={Youri Arkesteijn and Nikhil Saldanha and Bastijn Kostense},
  • Youri Arkesteijn, Nikhil Saldanha, Bastijn Kostense
  • Published 2020
  • Computer Science
  • ArXiv
  • 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… CONTINUE READING

    Figures, Tables, and Topics from this paper


    Code Completion with Neural Attention and Pointer Networks
    • 54
    • Highly Influential
    • PDF
    A Survey of Machine Learning for Big Code and Naturalness
    • 291
    • PDF
    Code completion with neural aŠention and pointer networks. arXiv preprint arXiv:1711.09573
    • 2017
    Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
    • 284