Towards Code Summarization of APIs Using NLP Techniques

08/12/2022
by   AmirHossein Naghshzan, et al.
0

Each programming language comes with official documentation to guide developers with APIs, methods and classes. However, in some cases, official documentation is not an efficient way to get the needed information. As a result, developers may consult other sources (e.g., Stack Overflow, GitHub) to learn more about an API, its implementation, usage, and other information that official documentation may not provide. In this research, we propose an automatic approach to generate summaries for APIs and methods by leveraging unofficial documentation using NLP techniques. Our findings demonstrate that the generated summaries are competitive, and can be used as a complementary source for guiding developers in software development and maintenance tasks.

READ FULL TEXT

page 1

page 2

page 3

research
11/27/2021

Leveraging Unsupervised Learning to Summarize APIs Discussed in Stack Overflow

Automated source code summarization is a task that generates summarized ...
research
08/17/2023

Enhancing API Documentation through BERTopic Modeling and Summarization

As the amount of textual data in various fields, including software deve...
research
08/26/2021

Retrieval Augmented Code Generation and Summarization

Software developers write a lot of source code and documentation during ...
research
03/14/2021

Improving Code Summarization with Block-wise Abstract Syntax Tree Splitting

Automatic code summarization frees software developers from the heavy bu...
research
05/04/2023

Improving Code Example Recommendations on Informal Documentation Using BERT and Query-Aware LSH: A Comparative Study

The study of code example recommendation has been conducted extensively ...
research
02/17/2021

Mining API Usage Scenarios from Stack Overflow

We propose a framework to mine API usage scenarios from Stack Overflow. ...
research
05/06/2019

Toward Human-Like Summaries Generated from Heterogeneous Software Artefacts

Automatic text summarisation has drawn considerable interest in the fiel...

Please sign up or login with your details

Forgot password? Click here to reset