作者
He Jiang, Jingxuan Zhang, Zhilei Ren, Tao Zhang
发表日期
2017/5/20
研讨会论文
2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE)
页码范围
38-48
出版商
IEEE
简介
Developers increasingly rely on API tutorials to facilitate software development. However, it remains a challenging task for them to discover relevant API tutorial fragments explaining unfamiliar APIs. Existing supervised approaches suffer from the heavy burden of manually preparing corpus-specific annotated data and features. In this study, we propose a novel unsupervised approach, namely Fragment Recommender for APIs with PageRank and Topic model (FRAPT). FRAPT can well address two main challenges lying in the task and effectively determine relevant tutorial fragments for APIs. In FRAPT, a Fragment Parser is proposed to identify APIs in tutorial fragments and replace ambiguous pronouns and variables with related ontologies and API names, so as to address the pronoun and variable resolution challenge. Then, a Fragment Filter employs a set of non-explanatory detection rules to remove non …
学术搜索中的文章
H Jiang, J Zhang, Z Ren, T Zhang - 2017 IEEE/ACM 39th International Conference on …, 2017