Patent attributes
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.