Patents
Literature
Patsnap Copilot is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Patsnap Copilot

276 results about "Code snippet" patented technology

Highly accurate code snippet recommendation method

The invention provides a highly accurate code snippet recommendation method. The method comprises the steps of splitting and dividing a project, and generating class files, a code snippet , a code snippet method body and a code snippet note; generating a code snippet method body vector and a code snippet note vector based on the code snippet method body and the code snippet note; compiling and decompiling each class file, and extracting an instruction sequence of the code snippet from the decompiled file; generating an inquiry vector based on an inquiry input by a user, and screening out a group of primary recommendation results with highest text similarity according to a text similarity of the inquiry vector and a code snippet text characteristic; and according to statement similarity ofall code snippet s in the primary recommendation results, screening the primary recommendation results for the second time and then re-ranking so as to form a final recommendation result. The method overcomes the defect that the existing method is low in recommendation accuracy due to unique use characteristic and failure in filtering of recommendation results. The method is applicable to the field of recommendation of open source code snippets.
Owner:NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products