Spelling Correction using Noisy Channel Models
- Fuzzy==1.2.2
- weighted-levenshtein==0.1
- cPickle
- tqdm
- numpy
- nltk (for stopwords removal)
- To run word-level spell-correction, run
python src/correct.py <input_file_path> <output_file_path>
- To run phrase-level spell-correction, run
python src/phrases.py <input_file_path> <output_file_path>
- To run sentence-level spell-correction, run
python src/sentences.py <input_file_path> <output_file_path>