Abstract
Scenarios are ideal to capture knowledge in human computer interface software engineering. Requirements engineering is a fundamental part of software development. If errors appear in this stage, it will be expensive to correct them in further stages. The domain experts and the developer team belong to different worlds. This generates a gap in communication between them. Because of it, it is important to use artifacts in natural language to communicate both sides. One simpler approach to specify requirements is Scenarios. They are widely used artifacts that generally describe the dynamics (tasks, activities) to be carried out in some specific situation. Generally, scenarios promote communication and participation from both sides. This can cause some problems. One of these problems is redundancy, that occurs when two stakeholders describe the same situation in different artifacts. This paper proposes an approach to analyze a set of scenarios by grouping them according to their similarity. The similarity is calculated through a series of comparisons of the different attributes of the scenario. This paper also describes a prototype implementing this method. Finally, the paper shows the result of a preliminary evaluation with results about the applicability of the approach.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Benyon, D., Macaulay, C.: Scenarios and the HCI-SE design problem. Interact. Comput. 14(4), 397–405 (2002). https://doi.org/10.1016/s0953-5438(02)00007-3
Boehm, B.W.: Software Engineering, Computer society Press, IEEE, (1997)
Potts, C.: Using schematic scenarios to understand user needs. In: Proceedings of the 1st Conference on Designing Interactive Systems: Processes, Practices, Methods, & Techniques, pp. 247–256 (1995)
Lim, S.L., Finkelstein, A.: StakeRare: using social networks and collaborative filtering for large-scale requirements elicitation. IEEE Trans. Softw. Eng. 38(3), 707–735 (2012). https://doi.org/10.1109/TSE.2011.36
Cockburn, A.: Writing Effective Use Cases. Addison-Wesley, Boston (2001)
Carrol, J. M.: Five reasons for scenario-based design. In: Proceedings of the 32nd Annual Hawaii International Conference on Systems Sciences pp. 2–5 (1999)
vor der Brück, T., Pouly, M.: Text similarity estimation based on word embeddings and matrix norms for targeted marketing. In: Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, vol. 1. pp. 1827–1836. (2019)
Gough, P.A., Fodemski, F.T., Higgins, S.A., Ray, S.J.: Scenarios: an industrial case study and hypermedia enhancements. In: Proceedings of IEEE International Symposium on Requirements Engineering (RE 1995), pp. 10–17. IEEE Computer Society Press, Los Alamitos (1995)
Carroll, J.M.: Making Use: Scenario-Based Design of Human-Computer Interactions. MIT Press, Cambridge (2000)
Alexander, I., Maiden, N.: Scenarios, Stories, Use Cases, Through the System Development Life Cycle. John Wiley & Sons, Hobokens (2004)
Sutcliffe, A.G., Maiden, N.A., Minocha, S., Manuel, D.: Supporting scenario-based requirements engineering. IEEE Trans. Softw. Eng. 24, 1072–1088 (1998)
Leite, J.C.S.D.P., Rossi, G., Balaguer, F., Maiorana, V., Kaplan, G., Hadad, G., Oliveros, A.: Enhancing a requirements baseline with scenarios. Requir. Eng. 2, 184–198 (1997)
Python. https://www.python.org/. Accessed 17 May 2023
spaCy · Industrial-strength Natural Language Processing in Python. https://spacy.io/. Accessed 17 May 2023
NLTK Natural Language Toolkit, https://www.nltk.org/, accessed 17/5/2023
Nattoch Dag, J., Regnell, B., Carlshamre, P., Andersson, M., Karlsson, J.: A feasibility study of automated natural language requirements analysis in market-driven development. Requir. Eng. J. 7, 20–33 (2002)
Rinartha, K., Suryasa, W.: Comparative study for better result on query suggestion of article searching with MySQL pattern matching and Jaccard similarity. In: Proceedings 5th International Conference on Cyber and IT Service Management (CITSM), pp. 1–4. IEEE (2017)
Runeson, P., Alexandersson, M., Nyholm, O.: Detection of duplicate defect reports using natural language processing. In: Proceedings of 29th International Conference on Software Engineering (ICSE 2007) , pp. 499–510. IEEE (2007)
Khtira, A., Benlarabi, A., El Asri, B.: Detecting feature duplication in natural language specifications when evolving software product lines. In: Proceedings of International Conference on Evaluation of Novel Approaches to Software Engineering (ENASE), pp. 257–262. IEEE (2015)
Sureka, A., Jalote, P.: Detecting duplicate bug report using character n-gram-based features. In: Proceedings of Asia Pacific Software Engineering Conference, pp. 366–374. IEEE (2010)
Qurashi, A. W., Holmes, V., Johnson, A.P.: Document processing: methods for semantic text similarity analysis. In: Proceedings of International Conference on INnovations in Intelligent SysTems and Applications (INISTA), pp. 1–6. IEEE (2020)
Mihany, F.A., Moussa, H., Kamel, A., Ezzat, E., Ilyas, M.: An automated system for measuring similarity between software requirements. In: Proceedings of the 2nd Africa and Middle East Conference on Software Engineering (2016)
Yanis, R.Z.I., Priyadi, Y., Puspitasari, S.Y.: Measurement of similarity between use case description and sequence diagram in software requirement specification using text analysis for dtrain application. In: Proceedings of 2nd International Conference on Electronic and Electrical Engineering and Intelligent System (ICE3IS), pp. 328–333. IEEE (2022)
Barbosa, R., Silva, A.E.A., Moraes R.: Use of similarity measure to suggest the existence of duplicate user stories in the scrum process. In: Proceedings of 46th Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshop. IEEE (2016)
Rago, A., Marcos, C., Diaz-Pace, J.A.: Identifying duplicate functionality in textual use cases by aligning semantic actions. Softw. Syst. Model. 15(2), 579–603 (2016)
Priyadi, Y., Putra, A.M., Lyanda, P.S.: The similarity of elicitation software requirements specification in student learning applications of SMKN7 Baleendah based on use case diagrams using text mining. In: Proceedings of 5th International Conference on Information Technology, Information Systems and Electrical Engineering (ICITISEE), pp. 115–120. IEEE (2021)
Sun, C., Lo, D., Wang, X., Jiang, J., Khoo, S.C.: A discriminative model approach for accurate duplicate bug report retrieval. In: Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering, vol. 1. pp. 45–54 (2010)
Sari, E. J., Priyadi, Y., Riskiana, R. R.: Implementation of semantic textual similarity between requirement specification and use case description using WUP method (case study: sipjabs application). In: Proceedings of IEEE World AI IoT Congress (AIIoT), pp. 681–687. IEEE (2022)
Lerch, J., Mira M.: Finding duplicates of your yet unwritten bug report. In: 17th European Conference on Software Maintenance and Reengineering, pp. 69–78. IEEE (2013)
Rao, D., Bian, L., Zhao, H.: Research of duplicate requirement detection method. In: Proceedings of 7th International Conference, Smart Computing and Communication, SmartCom 2022, New York City, NY, USA, 18–20 November 2023, pp. 213–225. Springer, Switzerland (2023). https://doi.org/10.1007/978-3-031-28124-2_20
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Delle Ville, J., Torres, D., Fernández, A., Antonelli, L. (2024). An Approach to Cluster Scenarios According to Their Similarity Using Natural Language Processing. In: Ruiz, P.H., Agredo-Delgado, V., Mon, A. (eds) Human-Computer Interaction. HCI-COLLAB 2023. Communications in Computer and Information Science, vol 1877. Springer, Cham. https://doi.org/10.1007/978-3-031-57982-0_5
Download citation
DOI: https://doi.org/10.1007/978-3-031-57982-0_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-57981-3
Online ISBN: 978-3-031-57982-0
eBook Packages: Biomedical and Life SciencesBiomedical and Life Sciences (R0)