ryderling / DGMS

Code for "Deep Graph Matching and Searching for Semantic Code Retrieval"
24 stars 7 forks source link

data processing #1

Open xylitea opened 3 years ago

xylitea commented 3 years ago

Hi, I want to know the module that converts java code into graph structure can be public? (how to process java code file into code_100000.pt file). It is vital for me, thank you very much, and I look forward to your reply.

ryderling commented 3 years ago

Our code that processes a code file into a graph is mainly based on https://github.com/CoderPat/structured-neural-summarization AND https://github.com/mwcvitkovic/Open-Vocabulary-Learning-on-Source-Code-with-a-Graph-Structured-Cache--Code-Preprocessor. You can refer to these two open-sourced projects for more details.

xylitea commented 3 years ago

Thanks a lot.

elitewe commented 2 years ago

Hi, Could you please upload code about data preprocessing? I still have doubts about how to convert the source code into code/text_xxx.pt file.

ryderling commented 2 years ago

Our data pre-processing code that converts the docstring of source code into a graph is partly implemented by other co-authors, who have also open-sourced https://github.com/IBM/Graph2Tree, you can refer to this repo for more details.

elitewe commented 2 years ago

Thank you.

------------------ 原始邮件 ------------------ 发件人: "ryderling/DGMS" @.>; 发送时间: 2021年12月29日(星期三) 晚上8:17 @.>; @.**@.>; 主题: Re: [ryderling/DGMS] data processing (#1)

Our data pre-processing code that converts the docstring of source code into a graph is partly implemented by other co-authors, who have also open-sourced https://github.com/IBM/Graph2Tree, you can refer to this repo for more details.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>