Invention Grant
- Patent Title: Code completion for languages with hierarchical structures
-
Application No.: US16391284Application Date: 2019-04-22
-
Publication No.: US11645576B2Publication Date: 2023-05-09
- Inventor: Shengyu Fu , Neelakantan Sundaresan , Ying Zhao
- Applicant: MICROSOFT TECHNOLOGY LICENSING, LLC.
- Applicant Address: US WA Redmond
- Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC.
- Current Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC.
- Current Assignee Address: US WA Redmond
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/455 ; G06F9/445 ; G06N20/00 ; G06F8/30 ; G06F8/33

Abstract:
A code completion system predicts candidates to complete a code fragment with a tag name and/or an attribute name in source code written in a hierarchically-structured language. Candidates for predicting a tag name are based on a first-order tag Markov chain model generated from usage patterns of relationships of tag names found in a training dataset. Candidates for predicting an attribute name are based on a second-order attribute Markov chain model generated from usage patterns of sequences of attribute names associated with each tag name found in the training dataset.
Public/Granted literature
- US20190332968A1 CODE COMPLETION FOR LANGUAGES WITH HIERARCHICAL STRUCTURES Public/Granted day:2019-10-31
Information query