首页> 外文会议>IEEE/ACM International Conference on Mining Software Repositories >PathMiner: A Library for Mining of Path-Based Representations of Code
【24h】

PathMiner: A Library for Mining of Path-Based Representations of Code

机译:Pathminer:用于挖掘基于路径的代码的库

获取原文

摘要

One recent, significant advance in modeling source code for machine learning algorithms has been the introduction of path-based representation - an approach consisting in representing a snippet of code as a collection of paths from its syntax tree. Such representation efficiently captures the structure of code, which, in turn, carries its semantics and other information. Building the path-based representation involves parsing the code and extracting the paths from its syntax tree; these steps build up to a substantial technical job. With no common reusable toolkit existing for this task, the burden of mining diverts the focus of researchers from the essential work and hinders newcomers in the field of machine learning on code. In this paper, we present PathMiner - an open-source library for mining path-based representations of code. PathMiner is fast, flexible, well-tested, and easily extensible to support input code in any common programming language. Preprint [https://doi.org/10.5281/zenodo.2595271]; released tool [https://doi.org/10.5281/zenodo.2595257].
机译:最近,机器学习算法建模源代码中的一个重要进步一直是基于路径的表示 - 一种代表代码片段作为来自其语法树的路径的集合的方法。这种表示有效地捕获代码的结构,反过来又携带其语义和其他信息。构建基于路径的表示涉及解析代码并从其语法树中提取路径;这些步骤建立了大量的技术工作。没有常见的可重复使用的工具包现有这项任务,挖掘负担将研究人员的重点转移到了机器学习领域的基本作品和妨碍了新代码。在本文中,我们展示了Pathminer - 一个用于挖掘基于路径的代码的展开源库。 Pathminer是快速,灵活,经过良好的测试,易于扩展的,以支持任何常用编程语言的输入代码。预印迹[https://doi.org/10.5281/zenodo.2595271];发布工具[https://doi.org/10.5281/zenodo.2595257]。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号