Microsoft Corporation
NEURAL METHOD COMPLETION BASED ON NATURAL LANGUAGE AND SOURCE CODE

Last updated:

Abstract:

A code completion tool uses a neural transformer model with attention to generate candidate sequences to complete a method body of a method signature. The neural transformer model is trained with source code programs and natural language text. The neural transformer model learns the meaning of a method name, its corresponding method parameters and types from a large corpus of unsupervised dataset of source code methods and a supervised dataset of tasks including source code constructs in combination with natural language docstrings to infer a candidate sequence of subtokens that represent a method body for a particular method signature.

Status:
Application
Type:

Utility

Filling date:

10 Jun 2020

Issue date:

18 Nov 2021