Microsoft Corporation
Code completion for dynamically-typed programming languages using machine learning
Last updated:
Abstract:
A code completion system predicts candidates to complete a method invocation in a source code program written in a dynamically-typed programming language. A pseudo type is generated for each variable in the source code program to approximate the runtime type of the variable. The pseudo type is then used to group a set of method invocations into a classification that can be modeled by an n-order Markov chain model. The n-order Markov chain model is used to predict candidate methods more likely to complete a method invocation in a dynamically-typed programming language.
Status:
Grant
Type:
Utility
Filling date:
27 Apr 2019
Issue date:
21 Sep 2021