Patent · US Active

Deep learning-based java program internal annotation generation method and system

US12106095B2 · kind B2 · utility

0Cited by
1References
11Claims
0Family size

Assignee

Inventors

Key dates

Filing dateApr 26, 2021
Grant dateOct 1, 2024
Priority date
Expiry dateApr 26, 2041

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F8/71
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

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 <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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.