计算机科学 > 软件工程
[提交于 2018年3月20日]
标题:Natural Language or Not (NLoN) - A Package for Software Engineering Text Analysis Pipeline
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Mika Mäntylä[v1] 2018年3月20日 星期二 08:32:56 UTC