• Patent Title: Deep learning-based java program internal annotation generation method and system
  • Application No.: US18554899
    Application Date: 2021-04-26
  • Publication No.: US12106095B2
    Publication Date: 2024-10-01
  • Inventor: Lin ChenZhi WangYanhui Li
  • Applicant: NANJING UNIVERSITY
  • Applicant Address: CN Jiangsu
  • Assignee: NANJING UNIVERSITY
  • Current Assignee: NANJING UNIVERSITY
  • Current Assignee Address: CN Jiangsu
  • Priority: CN 2110449761.5 2021.04.25
  • International Application: PCT/CN2021/089827 2021.04.26
  • International Announcement: WO2022/226716A 2022.11.03
  • Date entered country: 2023-10-11
  • Main IPC: G06F8/73
  • IPC: G06F8/73 G06F8/75
Deep learning-based java program internal annotation generation method and system
Abstract:
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 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.
Information query
Patent Agency Ranking
0/0