gec-ranking
gec-ranking copied to clipboard
Allowing import and py3 compatabillity
Hi, The changes are not large and only affect the code (nothing in the logic is changed).
- fixed a bug of not closing files
- allowed to be run on py3
- moved the main calculation into a function from main so import would be possible
- PEP08
- historical typo (BLEU instead of GLEU)
- the name of the project is not so great at '-' can't be a part of a python module name, I would change it into a '_' if I were you, but its up to you.