Skip to main content

An Approach to Cluster Scenarios According to Their Similarity Using Natural Language Processing

  • Conference paper
  • First Online:
Human-Computer Interaction (HCI-COLLAB 2023)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. 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

    Article  Google Scholar 

  2. Boehm, B.W.: Software Engineering, Computer society Press, IEEE, (1997)

    Google Scholar 

  3. 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)

    Google Scholar 

  4. 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

    Article  Google Scholar 

  5. Cockburn, A.: Writing Effective Use Cases. Addison-Wesley, Boston (2001)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. Carroll, J.M.: Making Use: Scenario-Based Design of Human-Computer Interactions. MIT Press, Cambridge (2000)

    Google Scholar 

  10. Alexander, I., Maiden, N.: Scenarios, Stories, Use Cases, Through the System Development Life Cycle. John Wiley & Sons, Hobokens (2004)

    Google Scholar 

  11. Sutcliffe, A.G., Maiden, N.A., Minocha, S., Manuel, D.: Supporting scenario-based requirements engineering. IEEE Trans. Softw. Eng. 24, 1072–1088 (1998)

    Article  Google Scholar 

  12. 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)

    Article  Google Scholar 

  13. Python. https://www.python.org/. Accessed 17 May 2023

  14. spaCy · Industrial-strength Natural Language Processing in Python. https://spacy.io/. Accessed 17 May 2023

  15. NLTK Natural Language Toolkit, https://www.nltk.org/, accessed 17/5/2023

  16. 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)

    Article  Google Scholar 

  17. 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)

    Google Scholar 

  18. 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)

    Google Scholar 

  19. 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)

    Google Scholar 

  20. 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)

    Google Scholar 

  21. 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)

    Google Scholar 

  22. 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)

    Google Scholar 

  23. 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)

    Google Scholar 

  24. 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)

    Google Scholar 

  25. 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)

    Article  Google Scholar 

  26. 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)

    Google Scholar 

  27. 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)

    Google Scholar 

  28. 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)

    Google Scholar 

  29. 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)

    Google Scholar 

  30. 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

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Juliana Delle Ville .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics