arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.13154cs.SE
收藏

利用独特表达改进软件工程文本情感分析

Exploiting the Unique Expression for Improved Sentiment Analysis in Software Engineering Text

Kexin Sun, Hui Gao, Hongyu Kuang, Xiaoxing Ma, Guoping Rong, Dong Shao, He Zhang

摘要:

对软件工程文本的情感分析在软件工程研究中得到了广泛的应用,例如评估应用评论或分析提交消息中的开发人员情感。为了更好地支持SE任务的自动情感分析的使用,研究人员构建了一个SE领域指定的情感词典,以进一步提高结果的准确性。不幸的是,最近的工作报告说,目前主流的情感分析工具仍然不能提供可靠的结果时,分析的情绪SE文本。我们认为,造成这种情况的原因是因为在SE文本中表达情感的方式在很大程度上不同于在社交网络或电影评论的方式。在本文中,我们提出了改进情感分析在SE文本中使用的句子结构,从不同的角度建立一个领域词典。具体来说,我们使用句子结构,首先确定作者是否在表达她的情绪在一个给定的条款的SE文本,并进一步调整计算的情绪确认的条款。基于四个不同的数据集的实证评估表明,我们的方法可以优于两个基于字典的基线方法,并且与基于学习的基线方法相比更具普遍性。

英文摘要:

Sentiment analysis on software engineering (SE) texts has been widely used in the SE research, such as evaluating app reviews or analyzing developers sentiments in commit messages. To better support the use of automated sentiment analysis for SE tasks, researchers built an SE-domain-specified sentiment dictionary to further improve the accuracy of the results. Unfortunately, recent work reported that current mainstream tools for sentiment analysis still cannot provide reliable results when analyzing the sentiments in SE texts. We suggest that the reason for this situation is because the way of expressing sentiments in SE texts is largely different from the way in social network or movie comments. In this paper, we propose to improve sentiment analysis in SE texts by using sentence structures, a different perspective from building a domain dictionary. Specifically, we use sentence structures to first identify whether the author is expressing her sentiment in a given clause of an SE text, and to further adjust the calculation of sentiments which are confirmed in the clause. An empirical evaluation based on four different datasets shows that our approach can outperform two dictionary-based baseline approaches, and is more generalizable compared to a learning-based baseline approach.

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

↑