JKSCI
A Comparative Study on Requirements Analysis Techniques using Natural Language Processing and Machine Learning
1)
Byung-Sun Cho*, Seok-Won Lee**
*Student, Dept. of Computer Engineering, Ajou University, Suwon, Korea
**Professor, Dept. of Software and Computer Engineering, Ajou University, Suwon, Korea
[Abstract]
In this paper, we propose the methodology based on data-driven approach using Natural Language Processing and Machine Learning for classifying requirements into functional requirements and non-functional requirements. Through the analysis of the results of the requirements classification, we have learned that the trained models derived from requirements classification with data-preprocessing and classification algorithm based on the characteristics and information of existing requirements that used term weights based on TF and IDF outperformed the results that used stemming and stop words to classify the requirements into functional and non-functional requirements. This observation also shows that the term weight calculated without removal of the stemming and stop words influenced the results positively. Furthermore, we investigate an optimized method for the study of classifying software requirements into functional and non-functional requirements.
▸Key words: Software Engineering, Requirements Engineering, Requirements Analysis, Machine Learning, Natural Language Processing
[요 약]
본 연구의 목적은 다양한 도메인에 대한 소프트웨어 요구사항 명세서로부터 수집된 요구사항을 데이터로 활용하여 데이터 중심적 접근법 (Data-driven Approach)의 연구를 통해 요구사항을 분류한 다. 이 과정에서 기존 요구사항의 특징과 정보를 바탕으로 다양한 자연어처리를 이용한 데이터 전처리와 기계학습 모델을 통해 요구사항을 기능적 요구사항과 비기능적 요구사항으로 분류하고 각 조합의 결과를 제시한다 . 그 결과로, 요구사항을 분류하는 과정에서, 자연어처리를 이용한 데 이터 전처리에서는 어간 추출과 불용어제거와 같은 토큰의 개수와 종류를 감소하여 데이터의 희 소성을 좀 더 밀집형태로 변형하는 데이터 전처리보다는 단어 빈도수와 역문서 빈도수를 기반으 로 단어의 가중치를 계산하는 데이터 전처리가 다른 전처리보다 좋은 결과를 도출할 수 있었다 . 이를 통해, 모든 단어를 고려하여 가중치 값은 기계학습에서 긍정적인 요인을 볼 수 있고 오히려 문장에서 의미 없는 단어를 제거하는 불용어 제거는 부정적인 요소로 확인할 수 있었다.
▸주제어: 소프트웨어공학, 요구공학, 요구사항 분석, 기계학습, 자연어처리
∙First Author: Byung-Sun Cho, Corresponding Author: Seok-Won Lee
*Byung-Sun Cho ([email protected]), Dept. of Computer Engineering, Ajou University
**Seok-Won Lee ([email protected]), Dept. of Software and Computer Engineering, Ajou University
∙Received: 2020. 02. 10, Revised: 2020. 06. 17, Accepted: 2020. 06. 19.
Copyright ⓒ 2020 The Korea Society of Computer and Information http://www.ksci.re.kr pISSN:1598-849X | eISSN:2383-9945