Code Completion with Statistical Language Models: https://www.cs.technion.ac.il/~yahave/papers/pldi14-statistical.pdf This amazing paper trains a language model on a Java corpus, then builds a code completion tool that can write whole snippets of code!