跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:1904.06929 (cs)
[提交于 2019年4月15日]

标题:Semantic Source Code Models Using Identifier Embeddings

作者:Vasiliki Efstathiou, Diomidis Spinellis
查看论文《Semantic Source Code Models Using Identifier Embeddings》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The emergence of online open source repositories in the recent years has led to an explosion in the volume of openly available source code, coupled with metadata that relate to a variety of software development activities. As an effect, in line with recent advances in machine learning research, software maintenance activities are switching from symbolic formal methods to data-driven methods. In this context, the rich semantics hidden in source code identifiers provide opportunities for building semantic representations of code which can assist tasks of code search and reuse. To this end, we deliver in the form of pretrained vector space models, distributed code representations for six popular programming languages, namely, Java, Python, PHP, C, C++, and C#. The models are produced using fastText, a state-of-the-art library for learning word representations. Each model is trained on data from a single programming language; the code mined for producing all models amounts to over 13.000 repositories. We indicate dissimilarities between natural language and source code, as well as variations in coding conventions in between the different programming languages we processed. We describe how these heterogeneities guided the data preprocessing decisions we took and the selection of the training parameters in the released models. Finally, we propose potential applications of the models and discuss limitations of the models.
评论: 16th International Conference on Mining Software Repositories (MSR 2019): Data Showcase Track
主题: 软件工程 (cs.SE)
引用方式: arXiv:1904.06929 [cs.SE]
  (或者 arXiv:1904.06929v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1904.06929
相关 DOI: https://doi.org/10.1109/MSR.2019.00015

提交历史

来自:Vasiliki Efstathiou
[v1] 2019年4月15日 星期一 09:35:11 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2019-04
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站