arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2204.05345cs.SE
收藏

基于摘要抽取技术的版本说明自动生成

Towards Automatically Generating Release Notes using Extractive Summarization Technique

Sristy Sumana Nath, Banani Roy

摘要:

发行说明被实践者认为是一个重要的文档。它们包含软件版本的源代码更改摘要,例如问题修复、添加的新功能和性能改进。手动生成发行说明是一项耗时且具有挑战性的任务。出于这个原因,有时开发人员会忽略编写发行说明。例如,我们从GitHub收集了超过1,900个版本的数据,其中37%的版本说明是空的。我们提出了一个自动生成发布说明的方法,基于提交消息和合并拉请求(PR)标题,以减轻这个问题。我们实现了一种流行的提取文本摘要技术,即,TextRank算法然而,准确的关键词提取是文本处理中的一个重要问题。TextRank算法的关键词匹配和主题提取过程忽略了文本之间的语义相似性。为了改进关键词提取方法,我们将GloVe词嵌入技术与TextRank相结合。我们开发了一个包含1,213个发布说明的数据集(空过滤后),并通过ROUGE度量和人工评估来评估生成的发布说明。我们还比较了我们的技术与另一种流行的提取算法,潜在语义分析(LSA)的性能。我们的评估结果表明,改进的TextRank方法优于LSA。

英文摘要:

Release notes are admitted as an essential document by practitioners. They contain the summary of the source code changes for the software releases, such as issue fixes, added new features, and performance improvements. Manually producing release notes is a time-consuming and challenging task. For that reason, sometimes developers neglect to write release notes. For example, we collect data from GitHub with over 1,900 releases, among them 37% of the release notes are empty. We propose an automatic generate release notes approach based on the commit messages and merge pull-request (PR) titles to mitigate this problem. We implement one of the popular extractive text summarization techniques, i.e., the TextRank algorithm. However, accurate keyword extraction is a vital issue in text processing. The keyword matching and topic extraction process of the TextRank algorithm ignores the semantic similarity among texts. To improve the keyword extraction method, we integrate the GloVe word embedding technique with TextRank. We develop a dataset with 1,213 release notes (after null filtering) and evaluate the generated release notes through the ROUGE metric and human evaluation. We also compare the performance of our technique with another popular extractive algorithm, latent semantic analysis (LSA). Our evaluation results show that the improved TextRank method outperforms LSA.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑