Neural code completion via re-ranking
US11307831B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jun 15, 2020 |
| Grant date | Apr 19, 2022 |
| Priority date | — |
| Expiry date | Jun 15, 2040 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06N3/09
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A code completion system uses neural components to rank the unordered list of code completion candidates generated from an existing static analyzer. The candidates represent the next sequence of tokens likely to complete a partially-formed program element as a developer is typing in a software development tool. A re-ranking component generates a ranked order of the candidates based on a context embedding of the code context and candidate embeddings of the candidates, where both embeddings are based a common token encoding.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.