arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1803.07292cs.SE
收藏

NLoN--一个用于软件工程文本分析流水线的软件包

Natural Language or Not (NLoN) - A Package for Software Engineering Text Analysis Pipeline

Mika V. Mäntylä, Fabio Calefato, Maelick Claes

摘要:

自然语言处理(NLP)的使用在软件工程中越来越受欢迎。为了正确执行NLP,我们必须对文本信息进行预处理,以将自然语言与其他信息(例如日志消息)分离开来,这些信息通常是软件工程中通信的一部分。我们提出了一个简单的方法来分类一些文本输入是否是自然语言或没有。虽然我们的NLoN包只依赖于11种语言特征和字符三元组,但我们能够在三个不同的数据源上实现0.976-0.987之间的ROC曲线下面积,Glmnet的Lasso回归作为我们的学习者,两个人类评分员提供地面真相。跨源预测性能较低,波动较大,最高ROC性能在0.913至0.980之间。与以前的工作相比,我们的方法提供了类似的性能,但更轻量级,更容易应用于软件工程文本挖掘管道。我们的源代码和数据作为R包提供,以供进一步改进。

英文摘要:

The use of natural language processing (NLP) is gaining popularity in software engineering. In order to correctly perform NLP, we must pre-process the textual information to separate natural language from other information, such as log messages, that are often part of the communication in software engineering. We present a simple approach for classifying whether some textual input is natural language or not. Although our NLoN package relies on only 11 language features and character tri-grams, we are able to achieve an area under the ROC curve performances between 0.976-0.987 on three different data sources, with Lasso regression from Glmnet as our learner and two human raters for providing ground truth. Cross-source prediction performance is lower and has more fluctuation with top ROC performances from 0.913 to 0.980. Compared with prior work, our approach offers similar performance but is considerably more lightweight, making it easier to apply in software engineering text mining pipelines. Our source code and data are provided as an R-package for further improvements.

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

↑