paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Generating query-specific class API summaries

生成面向查询的类 API 摘要
FSE Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2019匹配度 3/10 · 论文属于代码摘要与API文档生成,目标是为自然语言查询生成类API混合摘要,与用户关注的静态分析、形式化验证、浮点程序分析、贝叶斯程序分析及LLM/Agent与这些方向的交叉均无直接关系;仅在开发者工具与编程辅助场景上有间接关联,且未体现LLM/Agent或程序分析技术。引用 46 inbox
Mingwei Liu, Xin Peng, Andrian Marcus, Zhenchang Xing, Wenkai Xie, Shuangshuang Xing, Yang Liu
crossref: 2026-09-12

AI 速览

一句话:提出按自然语言查询为 API 类生成文档句子与方法组成的混合摘要。

在自动代码摘要领域,面向具体任务生成摘要仍具挑战。本文提出一种按需生成 API 类摘要的方法:给定以自然语言查询形式表达的编程任务,为相关 API 类生成“外延式”混合摘要。该摘要由两部分组成:从 API 参考文档中抽取的最相关句子,以及与任务最相关的方法。其目标不是概括类的全部行为,而是围绕查询提供能帮助开发者快速理解并完成特定编程任务的精炼信息。摘要同时结合文本与代码元素,因此称为混合摘要。摘要未报告具体评估结果。

问题
自动代码摘要通常面向代码元素整体,难以针对开发者当前的具体编程任务生成任务特定摘要。
方法
给定自然语言查询,抽取 API 参考文档中最相关句子并识别最相关方法,组合成按需的外延式混合 API 类摘要。
评估
摘要未说明评估方式;从摘要可知其产出为查询相关的文档句子与方法集合。
原文摘要(Abstract)

Source code summaries are concise representations, in form of text and/or code, of complex code elements and are meant to help developers gain a quick understanding that in turns help them perform specific tasks. Generation of summaries that are task-specific is still a challenge in the automatic code summarization field. We propose an approach for generating on-demand, extrinsic hybrid summaries for API classes, relevant to a programming task, formulated as a natural language query. The summaries include the most relevant sentences extracted from the API reference documentation and the most relevant methods.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot5142,
  title = {Generating query-specific class API summaries},
  author = {Mingwei Liu and Xin Peng and Andrian Marcus and Zhenchang Xing and Wenkai Xie and Shuangshuang Xing and Yang Liu},
  booktitle = {FSE},
  year = {2019},
  doi = {10.1145/3338906.3338971}
}