Multi-modal API recommendation
Too many options can be a problem, which is the case for Application Programming Interfaces (APIs). As there are many such APIs, with many more being introduced periodically, it raises the problem of choosing which API to be recommended. Furthermore, numerous APIs are commonly used together with oth...
Saved in:
Main Authors: | , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2023
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/9269 https://ink.library.smu.edu.sg/context/sis_research/article/10269/viewcontent/saner23.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-10269 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-102692024-09-09T07:02:59Z Multi-modal API recommendation IRSAN, Ivana Clairine ZHANG, Ting THUNG, Ferdian KIM, Kisub LO, David Too many options can be a problem, which is the case for Application Programming Interfaces (APIs). As there are many such APIs, with many more being introduced periodically, it raises the problem of choosing which API to be recommended. Furthermore, numerous APIs are commonly used together with other complementary third-party APIs. It can be challenging for developers to understand how to use each API and to remember all the complementary APIs for the API they want to use. Therefore, an accurate API recommendation approach can improve developers' efficiency in implementing certain functionality. Several approaches have been developed to automatically recommend APIs based on either a natural language query or source code context However, none of these API recommendation approaches have utilized these two sources of information at the same time (i.e., leveraging natural language query and source code context together). In this work, we propose an approach named MulARec, which leverages the information from natural language query (annotation) and source code context The results confirm that our approach outperforms state-of-the-art API recommendation approaches which only leverage a single type of information as the input Our work also demonstrates that multi-modal information can boost the performance of API recommendation approaches by 20%-50% better in terms of BLEU-score than the baselines. 2023-03-01T08:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/9269 https://ink.library.smu.edu.sg/context/sis_research/article/10269/viewcontent/saner23.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Analytical models Annotations Source coding Natural languages Software Programming Languages and Compilers Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Analytical models Annotations Source coding Natural languages Software Programming Languages and Compilers Software Engineering |
spellingShingle |
Analytical models Annotations Source coding Natural languages Software Programming Languages and Compilers Software Engineering IRSAN, Ivana Clairine ZHANG, Ting THUNG, Ferdian KIM, Kisub LO, David Multi-modal API recommendation |
description |
Too many options can be a problem, which is the case for Application Programming Interfaces (APIs). As there are many such APIs, with many more being introduced periodically, it raises the problem of choosing which API to be recommended. Furthermore, numerous APIs are commonly used together with other complementary third-party APIs. It can be challenging for developers to understand how to use each API and to remember all the complementary APIs for the API they want to use. Therefore, an accurate API recommendation approach can improve developers' efficiency in implementing certain functionality. Several approaches have been developed to automatically recommend APIs based on either a natural language query or source code context However, none of these API recommendation approaches have utilized these two sources of information at the same time (i.e., leveraging natural language query and source code context together). In this work, we propose an approach named MulARec, which leverages the information from natural language query (annotation) and source code context The results confirm that our approach outperforms state-of-the-art API recommendation approaches which only leverage a single type of information as the input Our work also demonstrates that multi-modal information can boost the performance of API recommendation approaches by 20%-50% better in terms of BLEU-score than the baselines. |
format |
text |
author |
IRSAN, Ivana Clairine ZHANG, Ting THUNG, Ferdian KIM, Kisub LO, David |
author_facet |
IRSAN, Ivana Clairine ZHANG, Ting THUNG, Ferdian KIM, Kisub LO, David |
author_sort |
IRSAN, Ivana Clairine |
title |
Multi-modal API recommendation |
title_short |
Multi-modal API recommendation |
title_full |
Multi-modal API recommendation |
title_fullStr |
Multi-modal API recommendation |
title_full_unstemmed |
Multi-modal API recommendation |
title_sort |
multi-modal api recommendation |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2023 |
url |
https://ink.library.smu.edu.sg/sis_research/9269 https://ink.library.smu.edu.sg/context/sis_research/article/10269/viewcontent/saner23.pdf |
_version_ |
1814047869681795072 |