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