中国科学院软件研究所机构知识库
Advanced  
ISCAS OpenIR  > 软件所图书馆  > 会议论文
Title:
inferring method specifications from natural language api descriptions
Author: Pandita Rahul ; Xiao Xusheng ; Zhong Hao ; Xie Tao ; Oney Stephen ; Paradkar Amit
Source: Proceedings - International Conference on Software Engineering
Conference Name: 34th International Conference on Software Engineering, ICSE 2012
Conference Date: June 2, 2012 - June 9, 2012
Issued Date: 2012
Conference Place: Zurich, Switzerland
Keyword: Computer software reusability ; Software engineering ; Specifications
Indexed Type: EI
ISSN: 0270-5257
ISBN: 9781467310673
Department: (1) Department of Computer Science North Carolina State University Raleigh NC United States; (2) Laboratory for Internet Software Technologies Institute of Software Chinese Academy of Sciences Beijing China; (3) Human-Computer Interaction Institute Carnegie Mellon University Pittsburgh PA United States; (4) I.B.M. T. J. Watson Research Center Hawthorne NY United States
Sponsorship: IEEE Computer Society; ACM; University of Zurich (UZH), Department of Informatics; Technical Council on Software Engineering (TCSE); Special Interest Group on Software Engineering (SIGSOFT); SI-SE
Abstract: Application Programming Interface (API) documents are a typical way of describing legal usage of reusable software libraries, thus facilitating software reuse. However, even with such documents, developers often overlook some documents and build software systems that are inconsistent with the legal usage of those libraries. Existing software verification tools require formal specifications (such as code contracts), and therefore cannot directly verify the legal usage described in natural language text in API documents against code using that library. However, in practice, most libraries do not come with formal specifications, thus hindering tool-based verification. To address this issue, we propose a novel approach to infer formal specifications from natural language text of API documents. Our evaluation results show that our approach achieves an average of 92% precision and 93% recall in identifying sentences that describe code contracts from more than 2500 sentences of API documents. Furthermore, our results show that our approach has an average 83% accuracy in inferring specifications from over 1600 sentences describing code contracts. © 2012 IEEE.
English Abstract: Application Programming Interface (API) documents are a typical way of describing legal usage of reusable software libraries, thus facilitating software reuse. However, even with such documents, developers often overlook some documents and build software systems that are inconsistent with the legal usage of those libraries. Existing software verification tools require formal specifications (such as code contracts), and therefore cannot directly verify the legal usage described in natural language text in API documents against code using that library. However, in practice, most libraries do not come with formal specifications, thus hindering tool-based verification. To address this issue, we propose a novel approach to infer formal specifications from natural language text of API documents. Our evaluation results show that our approach achieves an average of 92% precision and 93% recall in identifying sentences that describe code contracts from more than 2500 sentences of API documents. Furthermore, our results show that our approach has an average 83% accuracy in inferring specifications from over 1600 sentences describing code contracts. © 2012 IEEE.
Language: 英语
Content Type: 会议论文
URI: http://ir.iscas.ac.cn/handle/311060/15784
Appears in Collections:软件所图书馆_会议论文

Files in This Item:

There are no files associated with this item.


Recommended Citation:
Pandita Rahul,Xiao Xusheng,Zhong Hao,et al. inferring method specifications from natural language api descriptions[C]. 见:34th International Conference on Software Engineering, ICSE 2012. Zurich, Switzerland. June 2, 2012 - June 9, 2012.
Service
Recommend this item
Sava as my favorate item
Show this item's statistics
Export Endnote File
Google Scholar
Similar articles in Google Scholar
[Pandita Rahul]'s Articles
[Xiao Xusheng]'s Articles
[Zhong Hao]'s Articles
CSDL cross search
Similar articles in CSDL Cross Search
[Pandita Rahul]‘s Articles
[Xiao Xusheng]‘s Articles
[Zhong Hao]‘s Articles
Related Copyright Policies
Null
Social Bookmarking
Add to CiteULike Add to Connotea Add to Del.icio.us Add to Digg Add to Reddit
所有评论 (0)
暂无评论
 
评注功能仅针对注册用户开放,请您登录
您对该条目有什么异议,请填写以下表单,管理员会尽快联系您。
内 容:
Email:  *
单位:
验证码:   刷新
您在IR的使用过程中有什么好的想法或者建议可以反馈给我们。
标 题:
 *
内 容:
Email:  *
验证码:   刷新

Items in IR are protected by copyright, with all rights reserved, unless otherwise indicated.

 

 

Valid XHTML 1.0!
Copyright © 2007-2022  中国科学院软件研究所 - Feedback
Powered by CSpace