DocumentCode :
1607266
Title :
Discovering Information Explaining API Types Using Text Classification
Author :
Petrosyan, Gayane ; Robillard, Martin P. ; De Mori, Renato
Author_Institution :
Sch. of Comput. Sci., McGill Univ., Montreal, QC, Canada
Volume :
1
fYear :
2015
Firstpage :
869
Lastpage :
879
Abstract :
Many software development tasks require developers to quickly learn a subset of an Application Programming Interface (API). API learning resources are crucial for helping developers learn an API, but the knowledge relevant to a particular topic of interest may easily be scattered across different documents, which makes finding the necessary information more challenging. This paper proposes an approach to discovering tutorial sections that explain a given API type. At the core of our approach, we classify fragmented tutorial sections using supervised text classification based on linguistic and structural features. Experiments conducted on five tutorials show that our approach is able to discover sections explaining an API type with precision between 0.69 and 0.87 (depending on the tutorial) when trained and tested on the same tutorial. When trained and tested across tutorials, we obtained a precision between 0.74 and 0.94 and lower recall values.
Keywords :
application program interfaces; learning (artificial intelligence); pattern classification; software engineering; text analysis; API; application programming interface; linguistic feature; software development; structural feature; supervised text classification; Documentation; Feature extraction; HTML; Java; Libraries; Programming; Tutorials;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on
Conference_Location :
Florence
Type :
conf
DOI :
10.1109/ICSE.2015.97
Filename :
7194633
Link To Document :
بازگشت