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 条
  • [31] Inconsistency measurement of software requirements specifications: An ontology-based approach
    Zhu, XF
    Jin, Z
    ICECCS 2005: 10TH IEEE INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS, PROCEEDINGS, 2005, : 402 - 410
  • [32] Semantic Manipulations and Formal Ontology for Machine Learning Based on Concept Algebra
    Wang, Yingxu
    Tian, Yousheng
    Hu, Kendal
    INTERNATIONAL JOURNAL OF COGNITIVE INFORMATICS AND NATURAL INTELLIGENCE, 2011, 5 (03) : 1 - 29
  • [33] GPR radargrams analysis through machine learning approach
    Ponti, F.
    Barbuto, F.
    Di Gregorio, P. P.
    Frezza, F.
    Mangini, F.
    Parisi, R.
    Simeoni, P.
    Troiano, M.
    JOURNAL OF ELECTROMAGNETIC WAVES AND APPLICATIONS, 2021, 35 (12) : 1678 - 1686
  • [34] A morphometric analysis of the osteocyte canaliculus using applied automatic semantic segmentation by machine learning
    Tabata, Kaori
    Hashimoto, Mana
    Takahashi, Haruka
    Wang, Ziyi
    Nagaoka, Noriyuki
    Hara, Toru
    Kamioka, Hiroshi
    JOURNAL OF BONE AND MINERAL METABOLISM, 2022, 40 (04) : 571 - 580
  • [35] A morphometric analysis of the osteocyte canaliculus using applied automatic semantic segmentation by machine learning
    Kaori Tabata
    Mana Hashimoto
    Haruka Takahashi
    Ziyi Wang
    Noriyuki Nagaoka
    Toru Hara
    Hiroshi Kamioka
    Journal of Bone and Mineral Metabolism, 2022, 40 : 571 - 580
  • [36] An ontology-based approach for formalisation and semantic organisation of conformance requirements in construction
    Yurchyshyna, Anastasiya
    Zarli, Alain
    AUTOMATION IN CONSTRUCTION, 2009, 18 (08) : 1084 - 1098
  • [37] Automatic Detection of Software Defects based on Machine Learning
    Elshamy, Nawal
    AbouElenen, Amal
    Elmougy, Samir
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2023, 14 (03) : 353 - 364
  • [38] A machine learning approach to the automatic evaluation of machine translation
    Corston-Oliver, S
    Gamon, M
    Brockett, C
    39TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, PROCEEDINGS OF THE CONFERENCE, 2001, : 140 - 147
  • [39] Analysis of Tree-Family Machine Learning Techniques for Risk Prediction in Software Requirements
    Khan, Bilal
    Naseem, Rashid
    Alam, Iftikhar
    Khan, Inayat
    Alasmary, Hisham
    Rahman, Taj
    IEEE ACCESS, 2022, 10 : 98220 - 98231
  • [40] Automatic Scaffolding Workface Assessment for Activity Analysis through Machine Learning
    Ying, Wenzheng
    Shou, Wenchi
    Wang, Jun
    Shi, Weixiang
    Sun, Yanhui
    Ji, Dazhi
    Gai, Haoxuan
    Wang, Xiangyu
    Chen, Mengcheng
    APPLIED SCIENCES-BASEL, 2021, 11 (09):