KFCC: A differentiation-aware and keyword-guided fine-grain code comment generation model

Published: 01 Jan 2024, Last Modified: 25 Jan 2025Expert Syst. Appl. 2024EveryoneRevisionsBibTeXCC BY-SA 4.0
Abstract: Highlights•A new scene of generating fine-grain comments with the help of method-level Comments.•Keyword-Guided Fine-Grain Comment Extractor is applied to generation via gate fusion.•Differentiation-aware enhancing encoder comprehension enhances the model's robustness.•Our proposed model outperforms all benchmarks, whether automated or human evaluation.•All auxiliary modules and all variant strategies contribute to our KFCC model.
Loading