Microsoft technology licensing, llc. (20240256230). NEURAL METHOD COMPLETION BASED ON NATURAL LANGUAGE AND SOURCE CODE simplified abstract

From WikiPatents
Jump to navigation Jump to search

NEURAL METHOD COMPLETION BASED ON NATURAL LANGUAGE AND SOURCE CODE

Organization Name

microsoft technology licensing, llc.

Inventor(s)

COLIN BRUCE Clement of SEATTLE WA (US)

DAWN Drain of BELLEVUE WA (US)

NEELAKANTAN Sundaresan of BELLEVUE WA (US)

ALEXEY Svyatkovskiy of BELLEVUE WA (US)

NEURAL METHOD COMPLETION BASED ON NATURAL LANGUAGE AND SOURCE CODE - A simplified explanation of the abstract

This abstract first appeared for US patent application 20240256230 titled 'NEURAL METHOD COMPLETION BASED ON NATURAL LANGUAGE AND SOURCE CODE

    • Simplified Explanation:**

A code completion tool uses a neural transformer model with attention to generate candidate sequences to complete a method body of a method signature.

    • Key Features and Innovation:**
  • Neural transformer model trained with source code programs and natural language text
  • Learns the meaning of method names, parameters, and types from large datasets
  • Generates candidate sequences of subtokens for method bodies
    • Potential Applications:**

This technology can be used in software development tools to assist programmers in completing method bodies efficiently.

    • Problems Solved:**
  • Helps programmers write code faster and more accurately
  • Improves productivity in software development by providing intelligent code completion suggestions
    • Benefits:**
  • Reduces the time and effort required to write code
  • Enhances the quality and correctness of code written by developers
    • Commercial Applications:**
  • "Enhancing Software Development Efficiency with Neural Transformer Model-Based Code Completion Tool"
  • This technology can be integrated into IDEs and code editors to improve the coding experience for developers.
    • Questions about Code Completion Tool:**

1. How does the neural transformer model learn the meaning of method names and parameters? 2. What are the potential limitations of using this code completion tool in real-world software development projects?


Original Abstract Submitted

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.