Adapting existing source code snippets to new contexts
US11461081B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jan 27, 2021 |
| Grant date | Oct 4, 2022 |
| Priority date | — |
| Expiry date | Jan 27, 2041 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06N3/088
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Implementations are described herein for adapting existing source code snippets to new contexts. In various implementations, a command may be detected to incorporate an existing source code snippet into destination source code. An embedding may be generated based on the existing source code snippet, e.g., by processing the existing source code snippet using an encoder. The destination source code may be processed to identify one or more decoder constraints. Subject to the one or more decoder constraints, the embedding may be processed using a decoder to generate a new version of the existing source code snippet that is adapted to the destination source code.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.