A method of program synthesis based on API usage probability model
A synthesis method and technology of probability model, applied in the field of program synthesis based on API using probability model, can solve problems such as low efficiency, time-consuming, large program space, etc., and achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0044] The present invention will be further described below with reference to the accompanying drawings and specific preferred embodiments, but the protection scope of the present invention is not limited thereby.
[0045] like figure 1 and figure 2 As shown, the program synthesis method based on the API usage probability model of the present invention comprises the following steps:
[0046] S1) Data acquisition and processing: the API corresponding text set W1 is obtained from the target network resource;
[0047] S2) Construction of the probabilistic reachability graph: Calculate the similarity between the task description and each API in the specified range library corresponding to the text set W1 in the network resource, and weight and sum the similarity corresponding to each API to obtain the relationship between each API and the task The probability information of the degree, the probability information of the correlation between the API and the task represents the p...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


