Automatic semantic analysis of software requirements through machine learning and ontology approach

被引:11
|
作者
Wang Y. [1 ]
机构
[1] Department of Computer Science and Technology, Shanghai University of Finance and Economics, Shanghai
关键词
machine learning; semantic role labelling; software requirement engineering;
D O I
10.1007/s12204-016-1783-3
中图分类号
学科分类号
摘要
Nowadays, software requirements are still mainly analyzed manually, which has many drawbacks (such as a large amount of labor consumption, inefficiency, and even inaccuracy of the results). The problems are even worse in domain analysis scenarios because a large number of requirements from many users need to be analyzed. In this sense, automatic analysis of software requirements can bring benefits to software companies. For this purpose, we proposed an approach to automatically analyze software requirement specifications (SRSs) and extract the semantic information. In this approach, a machine learning and ontology based semantic role labeling (SRL) method was used. First of all, some common verbs were calculated from SRS documents in the E-commerce domain, and then semantic frames were designed for those verbs. Based on the frames, sentences from SRSs were selected and labeled manually, and the labeled sentences were used as training examples in the machine learning stage. Besides the training examples labeled with semantic roles, external ontology knowledge was used to relieve the data sparsity problem and obtain reliable results. Based on the SemCor and WordNet corpus, the senses of nouns and verbs were identified in a sequential manner through the K-nearest neighbor approach. Then the senses of the verbs were used to identify the frame types. After that, we trained the SRL labeling classifier with the maximum entropy method, in which we added some new features based on word sense, such as the hypernyms and hyponyms of the word senses in the ontology. Experimental results show that this new approach for automatic functional requirements analysis is effective. © 2016, Shanghai Jiaotong University and Springer-Verlag Berlin Heidelberg.
引用
收藏
页码:692 / 701
页数:9
相关论文
共 50 条
  • [1] Automatic Semantic Analysis of Software Requirements Through Machine Learning and Ontology Approach
    王英林
    [J]. Journal of Shanghai Jiaotong University(Science), 2016, 21 (06) : 692 - 701
  • [2] A Machine Learning Approach to Software Requirements Prioritization
    Perini, Anna
    Susi, Angelo
    Avesani, Paolo
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2013, 39 (04) : 445 - 461
  • [3] Ontology based requirements analysis: Lightweight semantic processing approach
    Kaiya, H
    Saeki, M
    [J]. QSIC 2005: FIFTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2005, : 223 - 230
  • [4] A machine learning approach for hierarchical classification of software requirements
    Binkhonain, Manal
    Zhao, Liping
    [J]. MACHINE LEARNING WITH APPLICATIONS, 2023, 12
  • [5] An Automatic Document Summarization Approach based on Fuzzy Ontology and Machine Learning
    Liu, Hongfei
    Gao, Qian
    [J]. 2020 IEEE 7TH INTERNATIONAL CONFERENCE ON DATA SCIENCE AND ADVANCED ANALYTICS (DSAA 2020), 2020, : 751 - 752
  • [6] Software Requirements Engineering through Machine Learning Techniques: A Literature Review
    Guadalupe Gramajo, Maria
    Ballejos, Luciana
    Ale, Mariel
    [J]. 2018 IEEE BIENNIAL CONGRESS OF ARGENTINA (ARGENCON), 2018,
  • [7] Performance analysis of Machine Learning Algorithms to classify Software Requirements
    Idate, Sonali
    Rao, T. Srinivasa
    Gayakwad, Milind
    Paygude, Priyanka
    Chavan, Prashant
    Pawar, Rajendra
    Kadam, Kalyani
    [J]. JOURNAL OF ELECTRICAL SYSTEMS, 2024, 20 (02) : 1588 - 1599
  • [8] An Approach for the Automatic Generation af a Content Type of a Semantic Learning Object from Ontology
    Rimale, Zouhair
    Benlahmar, E. L. Habib
    Tragha, Abderrahim
    [J]. 2016 11TH INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS: THEORIES AND APPLICATIONS (SITA), 2016,
  • [9] Ontology Learning from Software Requirements Specification (SRS)
    Ismail, Muhammad
    [J]. KNOWLEDGE ENGINEERING AND KNOWLEDGE MANAGEMENT, 2017, 10180 : 251 - 255
  • [10] An Ontology-based Approach for Automatic Specification, Verification, and Validation of Software Security Requirements: Preliminary Results
    Tsoukalas, Dimitrios
    Siavvas, Miltiadis
    Mathioudaki, Maria
    Kehagias, Dionysios
    [J]. 2021 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C 2021), 2021, : 83 - 91