Automatic Semantic Analysis of Software Requirements Through Machine Learning and Ontology Approach

被引:0
作者
王英林
机构
[1] DepartmentofComputerScienceandTechnology,ShanghaiUniversityofFinanceandEconomics
关键词
software requirement engineering; semantic role labelling; machine learning;
D O I
暂无
中图分类号
TP181 [自动推理、机器学习]; TP311.5 [软件工程];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ; 081202 ;
摘要
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 Sem Cor and Word Net 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.
引用
收藏
页码:692 / 701
页数:10
相关论文
共 8 条
[1]  
Software-as-a-service(SaaS): perspectives and challenges[J]. TSAI WeiTek,BAI XiaoYing,HUANG Yu. Science China(Information Sciences). 2014(05)
[2]   基于最大熵分类器的语义角色标注 [J].
刘挺 ;
车万翔 ;
李生 .
软件学报, 2007, (03) :565-573
[3]  
Review of Software Reuse Processes[J] . Antovski,Ljupcho,Imeri,Florinda. International Journal of Computer Science Issues (IJCSI) . 2013 (6)
[4]  
Model-Driven Derivation of Domain Functional Requirements from Use Cases[J] . Yinglin Wang,Zheying Zhang,Jianmei Guo. Journal of Software Engineering and Applications . 2010 (09)
[5]  
Word sense disambiguation[J] . Roberto Navigli. ACM Computing Surveys (CSUR) . 2009 (2)
[6]  
Support Vector Learning for Semantic Argument Classification[J] . Sameer Pradhan,Kadri Hacioglu,Valerie Krugler,Wayne Ward,James H. Martin,Daniel Jurafsky. Machine Learning . 2005 (1)
[7]   Head-driven statistical models for natural language parsing [J].
Collins, M .
COMPUTATIONAL LINGUISTICS, 2003, 29 (04) :589-637
[8]   Automatic Labeling of semantic roles [J].
Gildea, D ;
Jurafskyy, D .
COMPUTATIONAL LINGUISTICS, 2002, 28 (03) :245-288