Skip to content

sriniiyer/codenn

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
June 6, 2016 15:05
June 7, 2016 22:24
June 14, 2016 00:54
April 27, 2017 22:28
June 7, 2016 23:05

Run 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

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}

About

Summarizing Source Code using a Neural Attention Model - CODENN

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published