There is a newer version of the record available.

Published August 21, 2019 | Version v3

Learning Lenient Parsing & Typing via Indirect Supervision

Authors/Creators

Description

Validation Set: We have shared 3 CSV files containing human-annotated validation sets of our paper.

AST and Code Correction: For generating AST and Code correction, please check the two files, AST.py and Top1.py.
In AST.py, we present the output of different parts of the program with an example. Please read that one before Top1.py.
We follow the implementation of https://github.com/Lsdefine/attention-is-all-you-need-keras. Please check the remaining code in the above link. We made a minor correction in the dataloader.py to use two separate vocabulary cutoff for input and output. dataloader1.py, transformer1.py, etc. are an exact replication of dataloader.py and transformer.py.
Since we are using two models, we did it to avoid any conflict.

TypeFix: Check the code in TypeFix.zip

 

Files

Parsing StackOverflow data Non-parseable by JDT.csv

Files (651.0 kB)

Name Size Download all
md5:8dade5326e5f632cf3e6bb77f9d00c01
43.2 kB Download
md5:74e5dd7bc89719f6e709f4fadcae5783
108.8 kB Preview Download
md5:31f0cae5bff4f3d1555b7d05cd07fb6a
387.4 kB Preview Download
md5:5100bbca9aac8fa8de934703a03c884c
53.4 kB Download
md5:44881dfef8d95148d93984d7c46626de
10.4 kB Preview Download
md5:a69857fde5f320ddd9d6ea6a1fb0ab75
47.7 kB Preview Download