PSIMiner: A Tool for Mining Rich Abstract Syntax Trees from Code
원문 초록
The application of machine learning algorithms to source code has grown in the past years. Since these algorithms are quite sensitive to input data, it is not surprising that researchers experiment with input representations. Nowadays, a popular starting point to represent code is abstract syntax trees (ASTs). Abstract syntax trees have been used for a long time in various software engineering domains, and in particular in IDEs. The API of modern IDEs allows to manipulate and traverse ASTs, resolve references between code elements, etc. Such algorithms can enrich ASTs with new data and therefore may be useful in ML-based code analysis. In this work, we present PSIMiner - a tool for processing PSI trees from the IntelliJ Platform. PSI trees contain code syntax trees as well as functions to work with them, and therefore can be used to enrich code representation using static analysis algorithms of modern IDEs. To showcase this idea, we use our tool to infer types of identifiers in Java ASTs and extend the code2seq model for the method name prediction problem.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
WRDScore: New Metric for Evaluation of Natural Language Generation Models
Studying Vulnerable Code Entities in R
TransformCode: A Contrastive Learning Framework for Code Embedding via Subtree Transformation
Assessing Project-Level Fine-Tuning of ML4SE Models
Syntax-Guided Program Reduction for Understanding Neural Code Intelligence Models
Extracting Label-specific Key Input Features for Neural Code Intelligence Models
토론
이 논문과 연결된 포럼 글이 아직 없습니다.