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

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

计算机科学 > 软件工程

arXiv:1908.11685 (cs)
[提交于 2019年8月26日]

标题:Using LSTMs to Model the Java Programming Language

作者:Brendon Boldt
查看论文《Using LSTMs to Model the Java Programming Language》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Recurrent neural networks (RNNs), specifically long-short term memory networks (LSTMs), can model natural language effectively. This research investigates the ability for these same LSTMs to perform next "word" prediction on the Java programming language. Java source code from four different repositories undergoes a transformation that preserves the logical structure of the source code and removes the code's various specificities such as variable names and literal values. Such datasets and an additional English language corpus are used to train and test standard LSTMs' ability to predict the next element in a sequence. Results suggest that LSTMs can effectively model Java code achieving perplexities under 22 and accuracies above 0.47, which is an improvement over LSTM's performance on the English language which demonstrated a perplexity of 85 and an accuracy of 0.27. This research can have applicability in other areas such as syntactic template suggestion and automated bug patching.
评论: 9 pages, 2 figures
主题: 软件工程 (cs.SE); 计算与语言 (cs.CL); 程序设计语言 (cs.PL)
引用方式: arXiv:1908.11685 [cs.SE]
  (或者 arXiv:1908.11685v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1908.11685
期刊参考: Artificial Neural Networks and Machine Learning -- ICANN 2017. ICANN 2017. Lecture Notes in Computer Science, vol 10614
相关 DOI: https://doi.org/10.1007/978-3-319-68612-7_31

提交历史

来自:Brendon Boldt
[v1] 2019年8月26日 星期一 00:43:32 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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