Device and method for code search recommendation based on open source knowledge
A search recommendation and code technology, applied in the field of code search recommendation devices based on open source knowledge, can solve the problems of lack of code measurement depth, insufficient constraints, single code measurement angle, etc., to achieve complete code measurement, overcome inaccurate search, Accurate search results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0050] The present invention will be further described below in conjunction with the accompanying drawings.
[0051] Refer to attached figure 1 , to further describe the structure of the device of the present invention.
[0052] 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.
[0053] 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.
[0054] 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