Skip to content

Sheldon1999/spell_correction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spell_correction

This is a basic spell corrector implemented in JavaScript, that corrects misspelled words. This works on the concept of String metric or distances.

Local Setup

  1. install npm.
  2. install natural.js.
  3. clone or download repo.
  4. run main.js
  • Input and output are as follows:
    • Input -> a misspelled word (string);
    • output -> correct words(strings) generated by various algorithms;

Screenshot

scrnshot