Skip to content
/ codenn Public
forked from sriniiyer/codenn

Summarizing Source Code using a Neural Attention Model - CODENN

License

Notifications You must be signed in to change notification settings

urialon/codenn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Languages

  • Python 90.7%
  • ANTLR 3.8%
  • Lua 3.6%
  • HTML 0.8%
  • CSS 0.4%
  • PLpgSQL 0.2%
  • Other 0.5%