msushkov / cs276-pa2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Programming Assignment 2 starter code
Query spelling correction

for CS 276, Spring 2014, Stanford

buildmodels.sh and runcorrector.sh form the interface

Do not modify either buildmodels.sh or runcorrector.sh.
For the actual code, feel free to add your own files if you wish.

Note: 

Run buildmodels.sh as:
./buildmodels.sh <training corpus dir> <training edit1s file> <extra>(optional)

Run run corrector.sh as:
./runcorrector <uniform | empirical> <query file> <extra>(optional) <gold file>(optional)

About


Languages

Language:Java 79.9%Language:Python 19.5%Language:Shell 0.7%