Patent · US Active

Code reusability

US10545733B2 · kind B2 · utility

6Cited by
7References
15Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJun 25, 2018
Grant dateJan 28, 2020
Priority date
Expiry dateJul 26, 2038

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06N3/096
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Disclosed is a system for facilitating reusability of a code snippet during development of a software application. Initially, a plurality of tokens is extracted, by using an Artificial Intelligence (AI) based syntactic analysis, from a sequence of lines of code entered by a developer. Further, each token of the plurality of tokens is converted into a vector by using a neural word embedding technique. Subsequently, a context of the plurality of tokens is determined by using a deep autoencoder neural network technique. Furthermore, at least one code snippet is recommended from a plurality of code snippets corresponding to the context. To do so, the context is compared with a plurality of contexts by using a Deep Recurrent Neural Network (Deep RNN) technique. Upon comparison, a confidence score is computed for each code snippet. Finally, the at least one code snippet is selected based on the confidence score.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.