Papers by Zhenni Wang
An Intra-Class Relation Guided Approach for Code Comment Generation (2023.findings-eacl)
Copied to clipboard
| Challenge: | Recent work in code comment generation assumes that all information required to generate comments is encoded in the target function itself, yet in most realistic situations, it is hard to understand a function in isolation from the surrounding context. |
| Approach: | They propose a graph-based learning framework to capture various relations among functions in a class file. |
| Outcome: | The proposed method outperforms baseline models on automatic and human evaluation metrics on a Java dataset collected from real-world projects. |