Method for Searching Semantically Similar Fragments of Program Code
Abstract:
We propose a method for cross-language search of semantically similar fragments of program code. This method is based on the construction and analysis of abstract syntax trees using a model for generating vector representations of code and assessing their functional similarity through the cosine proximity of embeddings.