This is a basic spell corrector implemented in JavaScript, that corrects misspelled words. This works on the concept of String metric or distances.
- install npm.
- install natural.js.
- clone or download repo.
- run main.js
- Input and output are as follows:
- Input -> a misspelled word (string);
- output -> correct words(strings) generated by various algorithms;