A method of automatic program correction based on knowledge graph
A knowledge map and program technology, applied in program code conversion, software engineering design, instruments, etc., can solve the problem of not providing programming means, automatic correction, code knowledge map logical structure, construction method and practical application of automation are not well received Problems such as solving problems, achieving the effect of improving program writing efficiency, reducing writing workload, and reducing manual labor
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0055] The present invention will be further described below in conjunction with the examples, but not as a basis for limiting the present invention.
[0056] Example.
[0057] An automatic program correction method based on knowledge graph, such as figure 1 shown, including the following steps:
[0058] S1. Obtain open source code on the Internet, analyze the obtained source code through a code knowledge graph construction program, and generate a code knowledge graph;
[0059] S2. Write a skeleton program that allows for missing or errors;
[0060] S3. The skeleton program is analyzed through the code completion program, and the skeleton program is corrected and supplemented by using the code knowledge graph to obtain a complete program that is normally executed.
[0061] In the S1., the code knowledge graph is an RDF triple structure. The RDF triple structure consists of code entities and code relationships. Code entities are all syntactic components of a programming la...
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