Natural Language or Not (NLoN) - A Package for Software Engineering Text Analysis Pipeline
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 20 Mar 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 0; 2023: 1; 2024: 0; 2025: 1.
4 papers.
- 2023PENTACET data -- 23 Million Contextual Code Comments and 250,000 SATD commentscited by 2
- 2021Identifying non-natural language artifacts in bug reportscited by 1
- 2021Using Personality Detection Tools for Software Engineering Research: How Far Can We Go?cited by 0
- 2025SeBERTis: A Framework for Producing Classifiers of Security-Related Issue Reportscited by 0
- 2025SeBERTis: A Framework for Producing Classifiers of Security-Related Issue Reports17 Dec 2025
- 2023PENTACET data -- 23 Million Contextual Code Comments and 250,000 SATD comments24 Mar 2023
- 2021Using Personality Detection Tools for Software Engineering Research: How Far Can We Go?11 Oct 2021
- 2021Identifying non-natural language artifacts in bug reports4 Oct 2021