English

What Works Better? A Study of Classifying Requirements

Software Engineering 2017-07-11 v1

Abstract

Classifying requirements into functional requirements (FR) and non-functional ones (NFR) is an important task in requirements engineering. However, automated classification of requirements written in natural language is not straightforward, due to the variability of natural language and the absence of a controlled vocabulary. This paper investigates how automated classification of requirements into FR and NFR can be improved and how well several machine learning approaches work in this context. We contribute an approach for preprocessing requirements that standardizes and normalizes requirements before applying classification algorithms. Further, we report on how well several existing machine learning methods perform for automated classification of NFRs into sub-categories such as usability, availability, or performance. Our study is performed on 625 requirements provided by the OpenScience tera-PROMISE repository. We found that our preprocessing improved the performance of an existing classification method. We further found significant differences in the performance of approaches such as Latent Dirichlet Allocation, Biterm Topic Modeling, or Naive Bayes for the sub-classification of NFRs.

Keywords

Cite

@article{arxiv.1707.02358,
  title  = {What Works Better? A Study of Classifying Requirements},
  author = {Zahra Shakeri Hossein Abad and Oliver Karras and Parisa Ghazi and Martin Glinz and Guenther Ruhe and Kurt Schneider},
  journal= {arXiv preprint arXiv:1707.02358},
  year   = {2017}
}

Comments

7 pages, the 25th IEEE International Conference on Requirements Engineering (RE'17)

R2 v1 2026-06-22T20:41:11.040Z