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.
Original languageEnglish
Title of host publicationProceedings - 2019 IEEE/ACM 16th International Conference on Mining Software Repositories, MSR 2019
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages13-17
Number of pages5
Volume2019
ISBN (Electronic)9781728134123
ISBN (Print)9781728134123
DOIs
StatePublished - May 2019
Event16th International Conference on Mining Software Repositories - Montreal, Canada
Duration: 26 May 201927 May 2019

Conference

Conference16th International Conference on Mining Software Repositories
Abbreviated titleMSR 2019
Country/TerritoryCanada
CityMontreal
Period26/05/1927/05/19

    Scopus subject areas

  • Computer Science Applications
  • Software

    Research areas

  • Ast path, Code2Vec, Machine learning on code, Mining tool, Path based representation

ID: 43773778