Leveraging Class Hierarchy for Code Comprehension
Object-oriented programming languages enable a hierarchical class structure, which provides rich contextual information to guide code comprehension and synthesis. In this work, we propose the novel task of generating comments for overriding methods to facilitate code comprehension. To address this task, we formulate a deep learning framework which (1) exploits context from the comments of overridden methods and class names; (2) learns to generate comments in overriding methods that are more specific than those in the overridden methods; and (3) ensures that the generated comments are compatible with comments of overridden methods.
Code (0)
등록된 구현이 없습니다.
Similar Papers 제목 키워드 기반
Learning to Generate Code Comments from Class Hierarchies
Descriptive code comments are essential for supporting code comprehension and maintenance. We propose the task of automatically generating comments for overriding methods. We formulate a novel framework which accommodate…
Comment GenerationDescriptiveSpecificityModeling Text-Label Alignment for Hierarchical Text Classification
Hierarchical Text Classification (HTC) aims to categorize text data based on a structured label hierarchy, resulting in predicted labels forming a sub-hierarchy tree. The semantics of the text should align with the seman…
ClassificationContrastive Learningtext-classificationText ClassificationChatGPT-Powered Hierarchical Comparisons for Image Classification
The zero-shot open-vocabulary setting poses challenges for image classification. Fortunately, utilizing a vision-language model like CLIP, pre-trained on image-text pairs, allows for classifying images by comparing embed…
HiCu: Leveraging Hierarchy for Curriculum Learning in Automated ICD Coding
There are several opportunities for automation in healthcare that can improve clinician throughput. One such example is assistive tools to document diagnosis codes when clinicians write notes. We study the automation of …
Medical Code PredictionMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATIONLeveraging Artificial Intelligence on Binary Code Comprehension
Understanding binary code is an essential but complex software engineering task for reverse engineering, malware analysis, and compiler optimization. Unlike source code, binary code has limited semantic information, whic…
Compiler OptimizationMalware Analysis