期刊文献+
共找到1篇文章
< 1 >
每页显示 20 50 100
Graph Embedding Based API Graph Search and Recommendation 被引量:3
1
作者 chun-yang ling Yan-Zhen Zou +1 位作者 Ze-Qi Lin Bing Xie 《Journal of Computer Science & Technology》 SCIE EI CSCD 2019年第5期993-1006,共14页
Searching application programming interfaces (APIs) is very important for developers to reuse software projects. Existing natural language based API search mainly faces the following challenges. 1) More accurate resul... Searching application programming interfaces (APIs) is very important for developers to reuse software projects. Existing natural language based API search mainly faces the following challenges. 1) More accurate results are required as software projects evolve to be more heterogeneous and complex. 2) The semantic relationships between APIs (e.g., inheritances between classes, and invocations between methods) need to be illustrated so that developers can better understand their usage scenarios. To deal with these issues, we propose GeAPI, a novel graph embedding based approach for API graph search and recommendation in this paper. First, we build a software project’s API graph automatically from its source code and represent each API using graph embedding methods. Second, we search the API graph with a question in natural language, and return the corresponding subgraph that is composed of relevant code elements and their associated relationships, as the best answer of the question. In experiments, we select three well-known open source projects, JodaTime, Apache Lucene and POI, as examples to perform API search tasks. The experimental results show that our approach GeAPI improves F1-score by 10% compared with the existing shortest path based API search approach, while reduces the average response time about 60 times. 展开更多
关键词 application PROGRAMMING interface (API) RECOMMENDATION API GRAPH GRAPH EMBEDDING software REUSE
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部