CORC  > 北京大学  > 信息科学技术学院
Learning Embeddings of API Tokens to Facilitate Deep Learning Based Program Processing
Lu, Yangyang ; Li, Ge ; Miao, Rui ; Jin, Zhi
2016
关键词API tokens Embeddings Program processing Deep neural networks
英文摘要Deep learning has been applied for processing programs in recent years and gains extensive attention on the academic and industrial communities. In analogous to process natural language data based on word embeddings, embeddings of tokens (e.g. classes, variables, methods etc.) provide an important basis for processing programs with deep learning. Nowadays, lots of real-world programs rely on API libraries for implementation. They contain numbers of API tokens (e.g. API related classes, interfaces, methods etc.), which indicate notable semantics of programs. However, learning embeddings of API tokens is not exploited yet. In this paper, we propose a neural model to learn embeddings of API tokens. Our model combines a recurrent neural network with a convolutional neural network. And we use API documents as training corpus. Our model is trained on documents of five popular API libraries and evaluated on a description selecting task. To our best knowledge, this paper is the first to learn embeddings of API tokens and takes a meaningful step to facilitate deep learning based program processing.; CPCI-S(ISTP); luyy@pku.edu.cn; lige@pku.edu.cn; miaorui@pku.edu.cn; zhijin@pku.edu.cn; 527-539; 9983
语种英语
出处9th International Conference on Knowledge Science, Engineering, and Management (KSEM)
DOI标识10.1007/978-3-319-47650-6_42
内容类型其他
源URL[http://ir.pku.edu.cn/handle/20.500.11897/459979]  
专题信息科学技术学院
推荐引用方式
GB/T 7714
Lu, Yangyang,Li, Ge,Miao, Rui,et al. Learning Embeddings of API Tokens to Facilitate Deep Learning Based Program Processing. 2016-01-01.
个性服务
查看访问统计
相关权益政策
暂无数据
收藏/分享
所有评论 (0)
暂无评论
 

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。


©版权所有 ©2017 CSpace - Powered by CSpace