RACK: Automatic API Recommendation using Crowdsourced Knowledge
Not on the map. Why?
Abstract (arXiv)
Traditional code search engines often do not perform well with natural language queries since they mostly apply keyword matching. These engines thus need carefully designed queries containing information about programming APIs for code search. Unfortunately, existing studies suggest that preparing an effective code search query is both challenging and time consuming for the developers. In this paper, we propose a novel API recommendation technique--RACK that recommends a list of relevant APIs for a natural language query for code search by exploiting keyword-API associations from the crowdsourced knowledge of Stack Overflow. We first motivate our technique using an exploratory study with 11 core Java packages and 344K Java posts from Stack Overflow. Experiments using 150 code search queries randomly chosen from three Java tutorial sites show that our technique recommends correct API classes within the top 10 results for about 79% of the queries which is highly promising. Comparison with two variants of the state-of-the-art technique also shows that RACK outperforms both of them not only in Top-K accuracy but also in mean average precision and mean recall by a large margin.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). First posted on arXiv 9 Jul 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 0; 2023: 3; 2024: 1; 2025: 1; 2026: 3.
12 papers.
- 2024Compositional API Recommendation for Library-Oriented Code Generationcited by 10
- 2021The Forgotten Role of Search Queries in IR-based Bug Localization: An Empirical Studycited by 5
- 2025Improved IR-based Bug Localization with Intelligent Relevance Feedbackcited by 5
- 2023Pop Quiz! Do Pre-trained Code Models Possess Knowledge of Correct API Names?cited by 3
- 2021A Systematic Review of Automated Query Reformulations in Source Code Searchcited by 2
- 2023ARIST: An Effective API Argument Recommendation Approachcited by 2
- 2021Plot2API: Recommending Graphic API from Plot via Semantic Parsing Guided Neural Networkcited by 1
- 2021FACOS: Finding API Relevant Contents on Stack Overflow with Semantic and Syntactic Analysiscited by 1
- 2023Software Entity Recognition with Noise-Robust Learningcited by 1
- 2026Improved Bug Localization with AI Agents Leveraging Hypothesis and Dynamic Cognitioncited by 0
- 2026A Hybrid LTR-based System via Social Context Embedding for Recommending Solutions of Software Bugs in Developer Communitiescited by 0
- 2026From Pen to Pixel: Translating Hand-Drawn Plots into Graphical APIs via a Novel Benchmark and Efficient Adaptercited by 0
- 2026From Pen to Pixel: Translating Hand-Drawn Plots into Graphical APIs via a Novel Benchmark and Efficient Adapter27 Mar 2026
- 2026A Hybrid LTR-based System via Social Context Embedding for Recommending Solutions of Software Bugs in Developer Communities7 Mar 2026
- 2026Improved Bug Localization with AI Agents Leveraging Hypothesis and Dynamic Cognition18 Jan 2026
- 2025Improved IR-based Bug Localization with Intelligent Relevance Feedback17 Jan 2025
- 2024Compositional API Recommendation for Library-Oriented Code Generation29 Feb 2024
- 2023Pop Quiz! Do Pre-trained Code Models Possess Knowledge of Correct API Names?14 Sep 2023
- 2023Software Entity Recognition with Noise-Robust Learning21 Aug 2023
- 2023ARIST: An Effective API Argument Recommendation Approach11 Jun 2023
- 2021FACOS: Finding API Relevant Contents on Stack Overflow with Semantic and Syntactic Analysis14 Nov 2021
- 2021A Systematic Review of Automated Query Reformulations in Source Code Search22 Aug 2021
- 2021The Forgotten Role of Search Queries in IR-based Bug Localization: An Empirical Study11 Aug 2021
- 2021Plot2API: Recommending Graphic API from Plot via Semantic Parsing Guided Neural Network2 Apr 2021