Skip to main content

Using Linguistic Knowledge to Classify Non-functional Requirements in SRS documents

  • Conference paper
Natural Language and Information Systems (NLDB 2008)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 5039))

Abstract

Non-functional Requirements (NFRs) such as software quality attributes, software design constraints and software interface requirements hold crucial information about the constraints on the software system under development and its behavior. NFRs are subjective in nature and have a broad impact on the system as a whole. Being distinct from Functional Requirements (FR), NFRs are dealt with special attention, as they play an integral role during software modeling and development. However, since Software Requirements Specification (SRS) documents, in practice, are written in natural language, solely holding the perspectives of the clients, the documents often end up with FR and NFR statements mixed together in the same paragraphs. It is, therefore, left upon the software analysts to classify and separate them manually. The research, presented in this paper, aims to automate the process of detecting NFR sentences by using a text classifier equipped with a part-of-speech (POS) tagger. The results reported in this paper outperform the recent work in the field, and achieved a higher accuracy of 98.56% using 10-folds-cross-validation over the same data used in the literature. The research reported in this paper is part of a larger project aimed at applying Natural Language Processing techniques in Software Requirements Engineering.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Boetticher, G., Menzies, T., Ostrand, T.: PROMISE Repository of empirical software engineering data, West Virginia University, Department of Computer Science (2007) (Last retrieved: December 10, 2007), http://promisedata.org/repository

  2. Breitman, K., Leite, J., Finkelstein, A.: The world’s a stage: a survey of requirements engineering using a real-life case study. Journal of the Brazilian Computer Society 6(1), 13–37 (1999)

    Article  Google Scholar 

  3. Brill, E.: A simple rule-based part-of-speech tagger. In: Proceedings of the 3rd Conference on Applied Natural Language Processing (ANLP 1992), Trenton, Italy, April 1– 3, 1992, pp. 152–155 (1992)

    Google Scholar 

  4. Chung, L., Nixon, B.A., Yu, E., Mylopoulos, J.: Non-functional Requirements in Software Engiineering. Kluwer Academic Publishers, Dordrecht (2000)

    Google Scholar 

  5. Chung, L., Sapakkul, S.: Capturing and Reusing Functional and Non-functional Requirements Knowledge: A Goal-Object Pattern Approach. In: Proceedings of 2006 IEEE International Conference on Information Reuse and Integration, September 2006, pp. 539–544 (2006)

    Google Scholar 

  6. Cleland-Huang, J., Settimi, R., Zou, X., Solc, P.: The Detection and Classification of Non-Functional Requirements with Application to Early Aspects. In: Proceedings of 14th IEEE International Requirements Engineering Conference 2006 (RE 2006), pp. 36–45 (2006)

    Google Scholar 

  7. Cysneiros, L.M., Leite, J.C.S.: Non-functional requirements: from elicitation to modelling languages. In: Proceedings of the 24rd International Conference on Software Engineering (ICSE 2002), pp. 699–700 (2002)

    Google Scholar 

  8. Hill, R.: Quantifying Non-functional Requirements: A Process Oriented Approach, Requirements Engineering Conference. In: Proceedings of 12th IEEE International, September 6-11, 2004, pp. 352–353 (2004)

    Google Scholar 

  9. Hussain, I., Ormandjieva, O., Kosseim, L.: Automatic Quality Assessment of SRS Text by Means of a Decision-Tree-Based Text Classifier. In: Proceedings of the Seventh International Conference on Quality Software (QSIC 2007), pp. 209–218 (2007)

    Google Scholar 

  10. IEEE (1998). IEEE recommended practice for software requirements specifications (IEEE Std 830-1998). The Institute of Electrical and Electronics Engineers, Inc., New York (October 20, 1998) ISBN 0-7381-0332-2

    Google Scholar 

  11. International Standard ISO/IEC 14143-1:2007. Information technology - Software measurement - Functional size measurement - Part 1: Definition of concepts. International Organization for Standardization (2007)

    Google Scholar 

  12. Klein, D., Manning, C.D.: Accurate Unlexicalized Parsing. In: Proceedings of the 41st Meeting of the Association for Computational Linguistics (ACL 2003), pp. 423–430 (2003)

    Google Scholar 

  13. Quinlan, J.R.: C4.5: Programs for machine learning. Morgan Kaufmann, San Mateo (1993)

    Google Scholar 

  14. Rosenhainer, L.: Identifying Crosscutting Concerns in Requirements Specifications. In: Workshop on Early Aspects: Aspect-Oriented Requirements Engineering and Architecture Design, Vancouver, Canada (October 2004)

    Google Scholar 

  15. Witten, I.H., Frank, E.: Data mining: Practical machine learning tools and techniques. 2nd edn. Morgan Kaufman, San Francisco (2005)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Epaminondas Kapetanios Vijayan Sugumaran Myra Spiliopoulou

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Hussain, I., Kosseim, L., Ormandjieva, O. (2008). Using Linguistic Knowledge to Classify Non-functional Requirements in SRS documents. In: Kapetanios, E., Sugumaran, V., Spiliopoulou, M. (eds) Natural Language and Information Systems. NLDB 2008. Lecture Notes in Computer Science, vol 5039. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-69858-6_28

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-69858-6_28

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-69857-9

  • Online ISBN: 978-3-540-69858-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics