Hybrid DeepCom in Pytorch
1.0.0
Hybrid-DeepCom implemented by Pytorch
Hu X, Li G, Xia X, et al. Deep code comment generation with hybrid lexical and syntactical information[J]. Empirical Software Engineering, 2019: 1-39.
paper
original project
The following code should be run in advance.
import nltk
nltk.download('wordnet')
Dataset can be downloaded from Google Drive. Provided by Hu X et al.
version 1
version 2
Dataset folder should be organized like path in config.py
, or change the path in config.py
.