Projects
View on GitHub
sriniiyer/codenn
About
Summarizing Source Code using a Neural Attention Model - CODENN
AI & Machine LearningMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalRun CODENN
See details of CODENN in our paper
Summarizing Source Code using a Neural Attention Model (https://github.com/sriniiyer/codenn/blob/master/summarizing_source_code.pdf)
Requirements
- Torch (http://torch.ch/docs/getting-started.html)
- Cutorch
- antlr4 for parsing C# (pip install antlr4-python2-runtime)
Setup environment
export PYTHONPATH=~/codenn/src/:~/codenn/src/sqlparse
export CODENN_DIR=~/codenn/
export CODENN_WORK=./workdir
Build both csharp and sql datasets
Install modified sqlparse
cd src/sqlparse/
sudo python setup.py install
Build datasets
cd src/model
./buildData.sh
Train codenn models and predict on test set
./run.sh {sql|csharp}
Explore related projects
Loading…