Automating API Documentation with LLMs: A BERTopic Approach

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Naghshzan, AmirHossein
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915483106672640
author Naghshzan, AmirHossein
author_facet Naghshzan, AmirHossein
contents Developers rely on API documentation, but official sources are often lengthy, complex, or incomplete. Many turn to community-driven forums like Stack Overflow for practical insights. We propose automating the summarization of informal sources, focusing on Android APIs. Using BERTopic, we extracted prevalent topics from 3.6 million Stack Overflow posts and applied extractive summarization techniques to generate concise summaries, including code snippets. A user study with 30 Android developers assessed the summaries for coherence, relevance, informativeness, and satisfaction, showing improved productivity. Integrating formal API knowledge with community-generated content enhances documentation, making API resources more accessible and actionable work.
format Preprint
id arxiv_https___arxiv_org_abs_2509_05749
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Automating API Documentation with LLMs: A BERTopic Approach
Naghshzan, AmirHossein
Software Engineering
Machine Learning
Developers rely on API documentation, but official sources are often lengthy, complex, or incomplete. Many turn to community-driven forums like Stack Overflow for practical insights. We propose automating the summarization of informal sources, focusing on Android APIs. Using BERTopic, we extracted prevalent topics from 3.6 million Stack Overflow posts and applied extractive summarization techniques to generate concise summaries, including code snippets. A user study with 30 Android developers assessed the summaries for coherence, relevance, informativeness, and satisfaction, showing improved productivity. Integrating formal API knowledge with community-generated content enhances documentation, making API resources more accessible and actionable work.
title Automating API Documentation with LLMs: A BERTopic Approach
topic Software Engineering
Machine Learning
url https://arxiv.org/abs/2509.05749