Code completion method and system, storage medium and computer program product
A computer program and computer equipment technology, applied in the field of software development, can solve problems such as inability to accommodate vocabulary, all vocabulary included in the calculation range, inability to effectively deal with rare vocabulary, etc., to achieve the effect of strong versatility and improved prediction accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment A
[0104] The AOOV-POFA prediction process of the embodiment of the present invention is as follows:
[0105] 1. The existing code fragment Code_s is processed to obtain the input Code_in of the non-anonymized model and the input Code_ia of the anonymized model. The processing method is the same as the preprocessing method of each model;
[0106] 2. Use non-anonymized model Model non-anonymous Make a prediction and get the prediction result Identifier non-anonymous ;
[0107] 3. If the prediction result is not UNK, output Identifier non-anonymous ;
[0108] 4. Otherwise, use the anonymized model Model non-anonymous Make a prediction and output the prediction result Identifier anonymous .
[0109] The OOV problem is mainly caused by two reasons, rare vocabulary and new vocabulary. The problem of rare vocabulary is just as mentioned in the examples of the three documents. Anonymization shields the differences in vocabulary, so that low-frequency vocabulary at the expected li...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


