UPDF AI

Code completion with statistical language models

Veselin Raychev,Martin T. Vechev,Eran Yahav

2014 · DOI: 10.1145/2594291.2594321
ACM-SIGPLAN Symposium on Programming Language Design and Implementation · 696 Citations

TLDR

The main idea is to reduce the problem of code completion to a natural-language processing problem of predicting probabilities of sentences, and design a simple and scalable static analysis that extracts sequences of method calls from a large codebase, and index these into a statistical language model.