A spelling error corrector is implemented using the language model and the noisy channel model.
python spellCorrecter.py <test-words-misspelled> <test-words-correct> <model-name>
To test the noisy channel model,
python spellCorrecter.py <test-words-misspelled> <test-words-correct> noisychannel
To test the language model,
python spellCorrecter.py <test-words-misspelled> <test-words-correct> language
NOTE: The files should be within the current working directory