Augmenting API Documentation with Insights from Stack Overflow.
Saved in:
| Title: | Augmenting API Documentation with Insights from Stack Overflow. |
|---|---|
| Authors: | Treude, Christoph1 christoph.treude@adelaide.edu.au, Robillard, Martin P.2 martin@cs.mcgill.ca |
| Source: | ICSE: International Conference on Software Engineering. 5/14/2016, p392-403. 12p. |
| Subjects: | Application program interfaces, Computer software developers, Stack Overflow (Company), Computer software development, Software documentation |
| Abstract: | Software developers need access to different kinds of information which is often dispersed among different documentation sources, such as API documentation or Stack Over ow. We present an approach to automatically augment API documentation with "insight sentences" from Stack Overflow-- sentences that are related to a particular API type and that provide insight not contained in the API documentation of that type. Based on a development set of 1,574 sentences, we compare the performance of two state-of-the-art summarization techniques as well as a pattern-based approach for insight sentence extraction. We then present SISE, a novel machine learning based approach that uses as features the sentences themselves, their formatting, their question, their answer, and their authors as well as part-of-speech tags and the similarity of a sentence to the corresponding API documentation. With SISE, we were able to achieve a precision of 0.64 and a coverage of 0.7 on the development set. In a comparative study with eight software developers, we found that SISE resulted in the highest number of sentences that were considered to add useful information not found in the API documentation. These results indicate that taking into account the meta data available on Stack Over ow as well as part-of-speech tags can significantly improve unsupervised extraction approaches when applied to Stack Over ow data. [ABSTRACT FROM AUTHOR] |
| Copyright of ICSE: International Conference on Software Engineering is the property of Association for Computing Machinery and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) | |
| Database: | Engineering Source |
| FullText | Links: – Type: pdflink Text: Availability: 0 |
|---|---|
| Header | DbId: egs DbLabel: Engineering Source An: 125519949 AccessLevel: 6 PubType: Conference PubTypeId: conference PreciseRelevancyScore: 0 |
| IllustrationInfo | |
| Items | – Name: Title Label: Title Group: Ti Data: Augmenting API Documentation with Insights from Stack Overflow. – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22Treude%2C+Christoph%22">Treude, Christoph</searchLink><relatesTo>1</relatesTo><i> christoph.treude@adelaide.edu.au</i><br /><searchLink fieldCode="AR" term="%22Robillard%2C+Martin+P%2E%22">Robillard, Martin P.</searchLink><relatesTo>2</relatesTo><i> martin@cs.mcgill.ca</i> – Name: TitleSource Label: Source Group: Src Data: <searchLink fieldCode="JN" term="%22ICSE%3A+International+Conference+on+Software+Engineering%22">ICSE: International Conference on Software Engineering</searchLink>. 5/14/2016, p392-403. 12p. – Name: Subject Label: Subjects Group: Su Data: <searchLink fieldCode="DE" term="%22Application+program+interfaces%22">Application program interfaces</searchLink><br /><searchLink fieldCode="DE" term="%22Computer+software+developers%22">Computer software developers</searchLink><br /><searchLink fieldCode="DE" term="%22Stack+Overflow+%28Company%29%22">Stack Overflow (Company)</searchLink><br /><searchLink fieldCode="DE" term="%22Computer+software+development%22">Computer software development</searchLink><br /><searchLink fieldCode="DE" term="%22Software+documentation%22">Software documentation</searchLink> – Name: Abstract Label: Abstract Group: Ab Data: Software developers need access to different kinds of information which is often dispersed among different documentation sources, such as API documentation or Stack Over ow. We present an approach to automatically augment API documentation with "insight sentences" from Stack Overflow-- sentences that are related to a particular API type and that provide insight not contained in the API documentation of that type. Based on a development set of 1,574 sentences, we compare the performance of two state-of-the-art summarization techniques as well as a pattern-based approach for insight sentence extraction. We then present SISE, a novel machine learning based approach that uses as features the sentences themselves, their formatting, their question, their answer, and their authors as well as part-of-speech tags and the similarity of a sentence to the corresponding API documentation. With SISE, we were able to achieve a precision of 0.64 and a coverage of 0.7 on the development set. In a comparative study with eight software developers, we found that SISE resulted in the highest number of sentences that were considered to add useful information not found in the API documentation. These results indicate that taking into account the meta data available on Stack Over ow as well as part-of-speech tags can significantly improve unsupervised extraction approaches when applied to Stack Over ow data. [ABSTRACT FROM AUTHOR] – Name: AbstractSuppliedCopyright Label: Group: Ab Data: <i>Copyright of ICSE: International Conference on Software Engineering is the property of Association for Computing Machinery and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.) |
| PLink | https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=egs&AN=125519949 |
| RecordInfo | BibRecord: BibEntity: Identifiers: – Type: doi Value: 10.1145/2884781.2884800 Languages: – Code: eng Text: English PhysicalDescription: Pagination: PageCount: 12 StartPage: 392 Subjects: – SubjectFull: Application program interfaces Type: general – SubjectFull: Computer software developers Type: general – SubjectFull: Stack Overflow (Company) Type: general – SubjectFull: Computer software development Type: general – SubjectFull: Software documentation Type: general Titles: – TitleFull: Augmenting API Documentation with Insights from Stack Overflow. Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: Treude, Christoph – PersonEntity: Name: NameFull: Robillard, Martin P. IsPartOfRelationships: – BibEntity: Dates: – D: 14 M: 05 Text: 5/14/2016 Type: published Y: 2016 Titles: – TitleFull: ICSE: International Conference on Software Engineering Type: main |
| ResultId | 1 |