The dataset and source code for paper "API Method Recommendation without Worrying About the Task-API Knowledge Gap"
Since the dataset is quite large, I have to upload it using Dropbox. Please download the full package using the following link:
The code is based on Python 2.7.12. The required packages are listed below:
In the main package, running test.py will output the evaluation result of BIKER (method-level recommendation) with our dataset. Running test_api_class.py will output the result of class-level recommendation.
The online.py file allows you to input any query online, and output the recommended top-5 API methods, along with the API summary. This file may take 30~60 seconds to preprocess the data (just once) it would print "loading data finished" when it is ready to receive your query.