亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Learning to Infer API Mappings from API Documents

计算机科学 源代码 文字嵌入 程序设计语言 编码(集合论) 语义学(计算机科学) 钥匙(锁) 应用程序编程接口 词(群论) 过程(计算) 情报检索 嵌入 人工智能 操作系统 集合(抽象数据类型) 哲学 语言学
作者
Yangyang Lu,Ge Li,Zelong Zhao,Linfeng Wen,Zhi Jin
出处
期刊:Lecture Notes in Computer Science 卷期号:: 237-248 被引量:11
标识
DOI:10.1007/978-3-319-63558-3_20
摘要

To satisfy business requirements of various platforms and devices, developers often need to migrate software code from one platform to another. During this process, a key task is to figure out API mappings between API libraries of the source and target platforms. Since doing it manually is time-consuming and error-prone, several code-based approaches have been proposed. However, they often have the issues of availability on parallel code bases and time expense caused by static or dynamic code analysis. In this paper, we present a document-based approach to infer API mappings. We first learn to understand the semantics of API names and descriptions in API documents by a word embedding model. Then we combine the word embeddings with a text similarity algorithm to compute semantic similarities between APIs of the source and target API libraries. Finally, we infer API mappings from the ranking results of API similarities. Our approach is evaluated on API documents of JavaSE and .NET. The results outperform the baseline model at precision@k by 41.51% averagely. Compared with code-based work, our approach avoids their issues and leverages easily acquired API documents to infer API mappings effectively.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
2秒前
TXZ06完成签到,获得积分10
12秒前
xhy完成签到 ,获得积分10
19秒前
小神仙完成签到 ,获得积分10
22秒前
Ephemerality完成签到 ,获得积分10
23秒前
不去明知山完成签到 ,获得积分10
28秒前
caca完成签到,获得积分0
29秒前
32秒前
罗舒发布了新的文献求助30
37秒前
37秒前
eritinn发布了新的文献求助10
49秒前
eritinn完成签到,获得积分10
1分钟前
ljl86400完成签到,获得积分10
1分钟前
1分钟前
Jasper应助Heng采纳,获得10
1分钟前
1分钟前
1分钟前
1分钟前
Nakjeong完成签到 ,获得积分10
1分钟前
xuezha发布了新的文献求助10
1分钟前
郭燥发布了新的文献求助10
1分钟前
1分钟前
爱科研发布了新的文献求助10
1分钟前
生信精准科研完成签到,获得积分10
1分钟前
呜呜吴完成签到,获得积分10
1分钟前
2分钟前
2分钟前
2分钟前
孤独的大灰狼完成签到 ,获得积分10
2分钟前
feifei发布了新的文献求助10
2分钟前
2分钟前
yellow完成签到 ,获得积分10
2分钟前
bkagyin应助流萤采纳,获得30
2分钟前
爱科研完成签到,获得积分10
2分钟前
jinghong完成签到 ,获得积分10
2分钟前
orixero应助故意的茗采纳,获得10
2分钟前
学谦完成签到 ,获得积分10
2分钟前
2分钟前
feifei发布了新的文献求助10
2分钟前
令宏发布了新的文献求助50
2分钟前
高分求助中
Ophthalmic Equipment Market by Devices(surgical: vitreorentinal,IOLs,OVDs,contact lens,RGP lens,backflush,diagnostic&monitoring:OCT,actorefractor,keratometer,tonometer,ophthalmoscpe,OVD), End User,Buying Criteria-Global Forecast to2029 2000
A new approach to the extrapolation of accelerated life test data 1000
Cognitive Neuroscience: The Biology of the Mind 1000
Technical Brochure TB 814: LPIT applications in HV gas insulated switchgear 1000
Immigrant Incorporation in East Asian Democracies 500
Nucleophilic substitution in azasydnone-modified dinitroanisoles 500
不知道标题是什么 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3965642
求助须知:如何正确求助?哪些是违规求助? 3510896
关于积分的说明 11155529
捐赠科研通 3245353
什么是DOI,文献DOI怎么找? 1792856
邀请新用户注册赠送积分活动 874161
科研通“疑难数据库(出版商)”最低求助积分说明 804214