A more accurate model for finding tutorial segments explaining APIs
Developers prefer to utilize third-party libraries when they implement some functionalities and Application Programming Interfaces (APIs) are frequently used by them. Facing an unfamiliar API, developers tend to consult tutorials as learning resources. Unfortunately, the segments explaining a specif...
Saved in:
Main Authors: | , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2016
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/3751 https://ink.library.smu.edu.sg/context/sis_research/article/4753/viewcontent/1703.01553.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-4753 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-47532018-06-01T05:09:50Z A more accurate model for finding tutorial segments explaining APIs JIANG, He ZHANG, Jingxuan LI, Xiaochen REN, Zhilei LO, David Developers prefer to utilize third-party libraries when they implement some functionalities and Application Programming Interfaces (APIs) are frequently used by them. Facing an unfamiliar API, developers tend to consult tutorials as learning resources. Unfortunately, the segments explaining a specific API scatter across tutorials. Hence, it remains a challenging issue to find the relevant segments. In this study, we propose a more accurate model to find the exact tutorial fragments explaining APIs. This new model consists of a text classifier with domain specific features. More specifically, we discover two important indicators to complement traditional text based features, namely co-occurrence APIs and knowledge based API extensions. In addition, we incorporate Word2Vec, a semantic similarity metric to enhance the new model. Extensive experiments over two publicly available tutorial datasets show that our new model could find up to 90% fragments explaining APIs and improve the state-of-the-art model by up to 30% in terms of F-measure. 2016-03-01T08:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/3751 info:doi/10.1109/SANER.2016.59 https://ink.library.smu.edu.sg/context/sis_research/article/4753/viewcontent/1703.01553.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 Tutorials Androids Humanoid robots Programming Feature extraction Semantics Animation Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Tutorials Androids Humanoid robots Programming Feature extraction Semantics Animation Software Engineering |
spellingShingle |
Tutorials Androids Humanoid robots Programming Feature extraction Semantics Animation Software Engineering JIANG, He ZHANG, Jingxuan LI, Xiaochen REN, Zhilei LO, David A more accurate model for finding tutorial segments explaining APIs |
description |
Developers prefer to utilize third-party libraries when they implement some functionalities and Application Programming Interfaces (APIs) are frequently used by them. Facing an unfamiliar API, developers tend to consult tutorials as learning resources. Unfortunately, the segments explaining a specific API scatter across tutorials. Hence, it remains a challenging issue to find the relevant segments. In this study, we propose a more accurate model to find the exact tutorial fragments explaining APIs. This new model consists of a text classifier with domain specific features. More specifically, we discover two important indicators to complement traditional text based features, namely co-occurrence APIs and knowledge based API extensions. In addition, we incorporate Word2Vec, a semantic similarity metric to enhance the new model. Extensive experiments over two publicly available tutorial datasets show that our new model could find up to 90% fragments explaining APIs and improve the state-of-the-art model by up to 30% in terms of F-measure. |
format |
text |
author |
JIANG, He ZHANG, Jingxuan LI, Xiaochen REN, Zhilei LO, David |
author_facet |
JIANG, He ZHANG, Jingxuan LI, Xiaochen REN, Zhilei LO, David |
author_sort |
JIANG, He |
title |
A more accurate model for finding tutorial segments explaining APIs |
title_short |
A more accurate model for finding tutorial segments explaining APIs |
title_full |
A more accurate model for finding tutorial segments explaining APIs |
title_fullStr |
A more accurate model for finding tutorial segments explaining APIs |
title_full_unstemmed |
A more accurate model for finding tutorial segments explaining APIs |
title_sort |
more accurate model for finding tutorial segments explaining apis |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2016 |
url |
https://ink.library.smu.edu.sg/sis_research/3751 https://ink.library.smu.edu.sg/context/sis_research/article/4753/viewcontent/1703.01553.pdf |
_version_ |
1770573711006498816 |