Print Email Facebook Twitter PathMiner Title PathMiner: A library for mining of path-based representations of code Author Kovalenko, V.V. (TU Delft Software Engineering) Bogomolov, Egor (National Research University Higher School of Economics) Bryksin, Timofey (National Research University Higher School of Economics) Bacchelli, A. (University of Zürich) Date 2019-05-01 Abstract 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]. Subject Ast pathCode2VecMachine learning on codeMining toolPath based representation To reference this document use: http://resolver.tudelft.nl/uuid:8b32aa08-3736-4171-ac36-b43ea24c0ca4 DOI https://doi.org/10.1109/MSR.2019.00013 Publisher IEEE ISBN 978-1-7281-3370-6 Source 2019 IEEE/ACM 16th International Conference on Mining Software Repositories (MSR) Event 16th IEEE/ACM International Conference on Mining Software Repositories, MSR 2019, 2019-05-26 → 2019-05-27, Montreal, Canada Part of collection Institutional Repository Document type conference paper Rights © 2019 V.V. Kovalenko, Egor Bogomolov, Timofey Bryksin, A. Bacchelli Files PDF pathminer_preprint.pdf 599.91 KB Close viewer /islandora/object/uuid:8b32aa08-3736-4171-ac36-b43ea24c0ca4/datastream/OBJ/view