Code fragment recommendation method considering code statement sequence information
A technology of code fragments and code statements, which is applied in the field of code fragment recommendation considering the sequence information of code statements, can solve the problems of insufficient consideration of similarity, poor sorting effect, loss of structural information and sequence information, etc., and achieve good sorting effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0043] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0044] like figure 1 As shown, a method for recommending code fragments that considers the sequence information of code statements disclosed in the embodiment of the present invention mainly involves two stages, a data processing stage and a recommendation stage, and its core lies in the recommendation stage.
[0045] In the data processing stage, the input is the open source Java application project collected from the open source software hosting platform Github, and the output is the code database, which consists of 4 parts: formatted code snippets, declared variable types, structural information, and LC sequences ( Last Column Sequence, LC sequence refers to the new sequence generated by the conversion step of the BWT algorithm by taking the cleaned code fragment as input). Its specific steps can be divided into 5 steps:
[0046] 1) Extrac...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com