Code search recommendation device and method based on open source knowledge
A code and code fragment technology, applied in the field of software engineering, can solve the problems of not fully considering the characteristics and characteristics of the code, not making full use of the user's query intent, and a single code measurement angle, so as to achieve expanded dimensions, complete code measurement, and improved accuracy sexual effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0051] The present invention will be further described below in conjunction with the accompanying drawings.
[0052] Refer to attached figure 1 , to further describe the structure of the device of the present invention.
[0053] The device of the present invention includes four modules: a code segment generation module, a code feature extraction module, a text preprocessing module and a code search module.
[0054] The code fragment generation module is used to segment codes of at least 100,000 open source projects according to the attributes of the code itself in each project, and obtain at least 1.5 million code fragments to form a code fragment library.
[0055] The code feature extraction module is used to represent all text information in each code segment in a tree form by using the abstract syntax tree AST, each node on the tree represents a feature type in the code segment, and each All the text features of a code fragment, and all the text features of all code fragm...
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