Deep learning-based java program internal annotation generation method and syste
AssigneeNanjing University
InventorsLin CHEN, Zhi WANG, Yanhui LI
Life of this patent
Estimating the term…
Loading patent…
AssigneeNanjing University
InventorsLin CHEN, Zhi WANG, Yanhui LI
Estimating the term…
A deep learning-based Java program internal annotation generation method and system is provided. The method includes acquiring items with a Stars number ranked in the top, and extracting corresponding internal annotations and method statement lists; obtaining an <annotation, target code> pair; selecting an annotation in a Verb-dobj form; obtaining a code context associated with a target code segment; preprocessing the annotation, the target code, and the context to obtain a triplet dataset; randomly dividing the constructed dataset into a training set, a validation set, and a test set, and constructing an encoder-decoder network at the same time; enabling the training set in division to be used for model training, performing evaluation on the validation set to obtain a model with the best effect on the validation set as a target model; and predicting data in the test set with the obtained target model to generate a predicted annotation.
A deep learning-based Java program internal annotation generation method, comprising the following steps:
A deep learning-based Java program internal annotation generation system, comprising:
Dependencies are inferred from the claim text.