{"id":{"repo_id":"uwo","oai_identifier":"oai:uwo.scholaris.ca:20.500.14721/30754"},"canonical_url":"https://search.ndltd.org/etd/uwo/oai:uwo.scholaris.ca:20.500.14721/30754","repository":{"repo_id":"uwo","name":"Western University","base_url":"https://uwo.scholaris.ca/server/oai/request"},"display":{"title":"Automatically Classifying Non-functional Requirements with Feature Extraction and Supervised Machine Learning Techniques","abstract":"Abstract. Context and Motivation: Non-functional requirements (NFRs) of a system need to be classified into different types such as usability, performance, etc. This would enable stakeholders to ensure the completeness of their work by extracting specific NFRs related to their expertise. Question/Problem: Because of the size and complexity of requirement specification documents, the manual classification of NFRs is time-consuming, labour-intensive, and error-prone. We thus need an automated solution that can provide a highly accurate and efficient categorization of NFRs. Principal ideas/results: In this investigation, using natural language processing and supervised machine learning (SML) techniques, we investigate with feature extraction techniques including Part Of Speech-tagging based, Bag of Words (BoW) ,and Term Frequency-Inverse Document Frequency (TF-IDF) combined with SML algorithms including Support Vector Machine (SVM), Stochastic Gradient Descent (SGD) SVM, Linear Regression (LR), Decision Tree (DT), Bagging DT, Extra Tree, Random Forest (RF), Gaussian Naïve Bayes (GNB), Multinomial Naïve Bayes (MNB), and Bernoulli Naïve Bayes (BNB). Contribution: The proposed strategy consists of three different combinations of the above-mentioned techniques. SVM with TF-IDF, LR with POS and BoW, and MNB with BoW all achieved recall values higher than 0.90, precision values above 0.87, and execution times less than 0.1s. In addition, we validated these classifiers using a case-study dataset where they promise results of recall values over 0.90 and precision values over 0.92.","abstract_html":"Abstract. Context and Motivation: Non-functional requirements (NFRs) of a system need to be classified into different types such as usability, performance, etc. This would enable stakeholders to ensure the completeness of their work by extracting specific NFRs related to their expertise. Question/Problem: Because of the size and complexity of requirement specification documents, the manual classification of NFRs is time-consuming, labour-intensive, and error-prone. We thus need an automated solution that can provide a highly accurate and efficient categorization of NFRs. Principal ideas/results: In this investigation, using natural language processing and supervised machine learning (SML) techniques, we investigate with feature extraction techniques including Part Of Speech-tagging based, Bag of Words (BoW) ,and Term Frequency-Inverse Document Frequency (TF-IDF) combined with SML algorithms including Support Vector Machine (SVM), Stochastic Gradient Descent (SGD) SVM, Linear Regression (LR), Decision Tree (DT), Bagging DT, Extra Tree, Random Forest (RF), Gaussian Naïve Bayes (GNB), Multinomial Naïve Bayes (MNB), and Bernoulli Naïve Bayes (BNB). Contribution: The proposed strategy consists of three different combinations of the above-mentioned techniques. SVM with TF-IDF, LR with POS and BoW, and MNB with BoW all achieved recall values higher than 0.90, precision values above 0.87, and execution times less than 0.1s. In addition, we validated these classifiers using a case-study dataset where they promise results of recall values over 0.90 and precision values over 0.92.","abstract_has_math":false,"creators":["EzzatiKarami, Mahtab"],"institution":"The University of Western Ontario","degree_name":"M Sc","degree_level":null,"degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":[],"advisors":["Nazim H. Madhavji"],"committee_chairs":[],"committee_members":[],"year":2020,"date_issued":"2020-12-17","date_published":"2020-12-17","updated_at":"2026-11-26T14:00:18Z","subjects":["Non-functional Requirements","Classification","Supervised Machine Learning","Feature Extraction","Text Analysis"],"languages":["en_ca"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.sourceurl","label":"Source URL","values":["https://ir.lib.uwo.ca/etd/7549"],"render_values":[{"text":"https://ir.lib.uwo.ca/etd/7549","href":"https://ir.lib.uwo.ca/etd/7549","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/20.500.14721/30754","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/20.500.14721/30754","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Auwo%3Aoai%3Auwo.scholaris.ca%3A20.500.14721%2F30754","prefix":"oai_dc"},"source_record":{"url":"https://uwo.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Auwo.scholaris.ca%3A20.500.14721%2F30754","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Nazim H. Madhavji"]},{"key":"dc:creator","label":"Author","values":["EzzatiKarami, Mahtab"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-07-10T18:45:02Z","2021-01-04 06:44:28"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-07-10T18:45:02Z"]},{"key":"dc:date.issued","label":"Date","values":["2020-12-17"]},{"key":"dc:publisher","label":"Institution","values":["The University of Western Ontario"]},{"key":"dc:type","label":"Dc Type","values":["thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["M Sc"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Non-functional Requirements","Classification","Supervised Machine Learning","Feature Extraction","Text Analysis"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en_ca"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.sourceurl","label":"Source URL","values":["https://ir.lib.uwo.ca/etd/7549"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.14721/30754"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["The thesis cover page in the PDF document includes references to Western University’s previous institutional repository platform, known as Scholarship@Western, and links to that platform (beginning with ir.lib.uwo.ca). In citing or referring to this thesis, use the DOI or handle from this page instead. Sample citation: Author name, \"Thesis title.\" (Year). Western University Open Repository. https://doi.org/10.71858/123456."]},{"key":"dc:description.abstract","label":"Abstract","values":["Abstract. Context and Motivation: Non-functional requirements (NFRs) of a system need to be classified into different types such as usability, performance, etc. This would enable stakeholders to ensure the completeness of their work by extracting specific NFRs related to their expertise. Question/Problem: Because of the size and complexity of requirement specification documents, the manual classification of NFRs is time-consuming, labour-intensive, and error-prone. We thus need an automated solution that can provide a highly accurate and efficient categorization of NFRs. Principal ideas/results: In this investigation, using natural language processing and supervised machine learning (SML) techniques, we investigate with feature extraction techniques including Part Of Speech-tagging based, Bag of Words (BoW) ,and Term Frequency-Inverse Document Frequency (TF-IDF) combined with SML algorithms including Support Vector Machine (SVM), Stochastic Gradient Descent (SGD) SVM, Linear Regression (LR), Decision Tree (DT), Bagging DT, Extra Tree, Random Forest (RF), Gaussian Naïve Bayes (GNB), Multinomial Naïve Bayes (MNB), and Bernoulli Naïve Bayes (BNB). Contribution: The proposed strategy consists of three different combinations of the above-mentioned techniques. SVM with TF-IDF, LR with POS and BoW, and MNB with BoW all achieved recall values higher than 0.90, precision values above 0.87, and execution times less than 0.1s. In addition, we validated these classifiers using a case-study dataset where they promise results of recall values over 0.90 and precision values over 0.92."]},{"key":"dc:description.abstractgeneral","label":"General Abstract","values":["Non-functional requirements (NFRs) describe a set of quality attributes required for software such as performance, reliability, availability, etc. Extracting NFRs from software requirement specification (SRS) documents and classifying them into different types can provide stakeholders with specific NFR types based on their concerns. Since the functional and non-functional requirements are mixed within the same SRS, it requires a lot of human effort for distinguishing them and can be an error-prone process. In this thesis research, we studied how accurately we can automatically identify non-functional requirements from SRS documents and classify them into different types, in particular, usability, performance, security, and operational requirements. Our proposed solution can support different stakeholders such as architects to whom architecturally significant requirements e.g. performance, efficiency, and interface. are important in choosing software architectural decisions; business analysts to whom business-related NFRs e.g. security, availability, and usability are important in the business; and developers with specific expertise e.g. user interface, security, and database."]},{"key":"dc:title","label":"Title","values":["Automatically Classifying Non-functional Requirements with Feature Extraction and Supervised Machine Learning Techniques"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Nazim H. Madhavji"],"dc:creator":["EzzatiKarami, Mahtab"],"dc:date.accessioned":["2025-07-10T18:45:02Z","2021-01-04 06:44:28"],"dc:date.available":["2025-07-10T18:45:02Z"],"dc:date.issued":["2020-12-17"],"dc:description":["The thesis cover page in the PDF document includes references to Western University’s previous institutional repository platform, known as Scholarship@Western, and links to that platform (beginning with ir.lib.uwo.ca). In citing or referring to this thesis, use the DOI or handle from this page instead. Sample citation: Author name, \"Thesis title.\" (Year). Western University Open Repository. https://doi.org/10.71858/123456."],"dc:description.abstract":["Abstract. Context and Motivation: Non-functional requirements (NFRs) of a system need to be classified into different types such as usability, performance, etc. This would enable stakeholders to ensure the completeness of their work by extracting specific NFRs related to their expertise. Question/Problem: Because of the size and complexity of requirement specification documents, the manual classification of NFRs is time-consuming, labour-intensive, and error-prone. We thus need an automated solution that can provide a highly accurate and efficient categorization of NFRs. Principal ideas/results: In this investigation, using natural language processing and supervised machine learning (SML) techniques, we investigate with feature extraction techniques including Part Of Speech-tagging based, Bag of Words (BoW) ,and Term Frequency-Inverse Document Frequency (TF-IDF) combined with SML algorithms including Support Vector Machine (SVM), Stochastic Gradient Descent (SGD) SVM, Linear Regression (LR), Decision Tree (DT), Bagging DT, Extra Tree, Random Forest (RF), Gaussian Naïve Bayes (GNB), Multinomial Naïve Bayes (MNB), and Bernoulli Naïve Bayes (BNB). Contribution: The proposed strategy consists of three different combinations of the above-mentioned techniques. SVM with TF-IDF, LR with POS and BoW, and MNB with BoW all achieved recall values higher than 0.90, precision values above 0.87, and execution times less than 0.1s. In addition, we validated these classifiers using a case-study dataset where they promise results of recall values over 0.90 and precision values over 0.92."],"dc:description.abstractgeneral":["Non-functional requirements (NFRs) describe a set of quality attributes required for software such as performance, reliability, availability, etc. Extracting NFRs from software requirement specification (SRS) documents and classifying them into different types can provide stakeholders with specific NFR types based on their concerns. Since the functional and non-functional requirements are mixed within the same SRS, it requires a lot of human effort for distinguishing them and can be an error-prone process. In this thesis research, we studied how accurately we can automatically identify non-functional requirements from SRS documents and classify them into different types, in particular, usability, performance, security, and operational requirements. Our proposed solution can support different stakeholders such as architects to whom architecturally significant requirements e.g. performance, efficiency, and interface. are important in choosing software architectural decisions; business analysts to whom business-related NFRs e.g. security, availability, and usability are important in the business; and developers with specific expertise e.g. user interface, security, and database."],"dc:identifier.sourceurl":["https://ir.lib.uwo.ca/etd/7549"],"dc:identifier.uri":["https://hdl.handle.net/20.500.14721/30754"],"dc:language.iso":["en_ca"],"dc:publisher":["The University of Western Ontario"],"dc:subject":["Non-functional Requirements","Classification","Supervised Machine Learning","Feature Extraction","Text Analysis"],"dc:title":["Automatically Classifying Non-functional Requirements with Feature Extraction and Supervised Machine Learning Techniques"],"dc:type":["thesis"],"others:access_status":["open.access"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_name":["M Sc"]},"updated_at":"2026-11-26T14:00:18Z"}