Requirement engineering (RE) is the first and the most important step in software production and development. The RE is aimed to specify software requirements. One of the tasks in RE is the categorization of software requirements as functional and non-functional requirements. The functional requirements (FR) show the responsibilities of the system while non-functional requirements represent the quality factors of software. Discrimination between FR and NFR is a challenging task. Nowadays Deep Learning (DL) has entered all fields of engineering and has increased accuracy and reduced time in their implementation process. In this paper, we use deep learning for the classification of software requirements. Five prominent DL algorithms are trained for classifying requirements. Also, two voting classification algorithms are utilized for creating ensemble classifiers based on five DL methods. The PURE, a repository of Software Requirement Specification (SRS) documents, is selected for our experiments. We created a dataset from PURE which contains 4661 requirements where 2617 requirements are functional and the remaining are non-functional. Our methods are applied to the dataset and their performance analysis is reported. The results show that the performance of deep learning models is satisfactory and the voting mechanisms provide better results.
翻译:要求工程(RE)是软件生产和开发的第一个也是最重要的步骤。要求工程(RE)是软件生产和开发的第一个也是最重要的步骤。RE(RE)的目标是具体规定软件要求。RE(RE)的任务之一是将软件要求分类为功能性要求和非功能性要求。功能要求(FR)显示系统的责任,而功能要求代表软件的质量因素。FR和NFR(NFR)之间的区分是一项艰巨的任务。如今,深入学习(DL)进入了所有工程领域,提高了其执行过程的准确性并缩短了时间。在本文件中,我们用深层次的学习来对软件要求进行分类。五个突出的DL算法是用来对要求进行分类的培训。此外,还利用两种投票分类算法来创建基于五种DL方法的全套分类器。PURE(软件要求规格文件存放处)是我们实验中挑选出来的。我们从PURE(DURE)创建了一个数据集,其中包含4661项要求,其中2617项要求是功能性的,其余的要求是不起作用的。我们的方法被用于数据集,并且报告了其业绩分析。结果显示深层学习模型的成绩令人满意,投票机制提供更好的结果。