Process for Automatic Requirement Generation in Korean Requirements Documents using NLP Machine Learning

NLP 기계 학습을 사용한 한글 요구사항 문서에서의 요구사항 자동 생성 프로세스

  • Young Yun Baek (Dept. of Software Science Dankook University) ;
  • Soo Jin Park (Graduate School of Management of Technology, Sogang University) ;
  • Young Bum Park (Dept. of Software Science Dankook University)
  • 백영윤 (단국대학교 소프트웨어학과) ;
  • 박수진 (서강대학교 기술경영전문대학원) ;
  • 박용범 (단국대학교 소프트웨어학과)
  • Received : 2023.03.06
  • Accepted : 2023.03.16
  • Published : 2023.03.31

Abstract

In software engineering, requirement analysis is an important task throughout the process and takes up a high proportion. However, factors that fail to analyze requirements include communication failure, different understanding of the meaning of requirements, and failure to perform requirements normally. To solve this problem, we derived actors and behaviors using morpheme analysis and BERT algorithms in the Korean requirement document and constructed them as ontologies. A chatbot system with ontology data is constructed to derive a final system event list through Q&A with users. The chatbot system generates the derived system event list as a requirement diagram and a requirement specification and provides it to the user. Through the above system, diagrams and specifications with a level of coverage complied with Korean requirement documents were created.

Keywords

Acknowledgement

이 논문은 2023년도 정부(과학기술정보통신부)의 재원으로 정보통신기획평가원의 지원을 받아 수행된 연구임(2021-0-00177).

References

  1. Young-Yun Baek, Yong-Beom Park. (2022). Suggested automatic creation of use case diagrams through machine learning analysis in Korean requirements documents. Journal of the Institute of Electronics Engineers of Korea, 2737-2739.
  2. Nguyen, Tuong Huan, John Grundy, and Mohamed Almorsy. "Rule-based extraction of goal-use case models from text." Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering. 2015.
  3. Osman, Mohd Hafeez, and Mohd Firdaus Zaharin. "Ambiguous software requirement specification detection: An automated approach." 2018 IEEE/ACM 5th International Workshop on Requirements Engineering and Testing (RET). IEEE, 2018
  4. Wang, Yingxu, and James Y. Xu. "Autonomous Software Requirement Specifications towards AI Programming." 2021 IEEE 20th International Conference on Cognitive Informatics & Cognitive Computing CC). IEEE, 2021.
  5. Tlusty, J., Smith, S., and Zamudia, C., "Critical Reviews in Solid State and materials Sciences," J. of The Korean Society of Semiconductor & Display Technology, Vol. 39, pp. 51-52, 2008.
  6. Panichella, Sebastiano, and Marcela Ruiz. "Requirements-collector: automating requirements specification from elicitation sessions and user feedback." 2020 IEEE 28th International Requirements Engineering Conference (RE). IEEE, 2020.
  7. Akay, Haluk, and Sang-Gook Kim. "Reading functional requirements using machine learning-based language processing." CIRP Annals 70.1 (2021): 139-142. https://doi.org/10.1016/j.cirp.2021.04.021
  8. Byung-Sun Cho, Seok-Won Lee. (2020). A Comparative Study on Requirements Analysis Techniques using Natural Language Processing and Machine Learning. Journal of the Korea Society of Computer and Information , 25(7), 27-37.
  9. Abdouli, Mariem, Wahiba Ben Abdessalem Karaa, and Henda Ben Ghezala. "Survey of works that transform requirements into UML diagrams." 2016 IEEE 14th International Conference on Software Engineering Research, Management and Applications (SERA). IEEE, 2016.
  10. Liu, Kaihua, Sandeep Reddivari, and Kalyan Reddivari. "Artificial Intelligence in Software Requirements Engineering: State-of-the-Art." 2022 IEEE 23rd International Conference on Information Reuse and Integration for Data Science (IRI). IEEE, 2022.
  11. Devlin, J., Chang, M. W., Lee, K., & Toutanova, K. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805.
  12. Y. Lee and Y. Yu, mecab-ko-dic, https://bitbucket.org/eunjeon/mecab-ko-dic(accessed 26 Jan 2023)