Skip to content

KhaledSami/spelling-corrector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt tag

spelling-corrector

nodeJs Spelling Corrector version for Norvig's spelling corrector

How to install

npm i spelling-corrector

How to use

var SpellCorrector = require('spelling-corrector');

var spellCorrector = new SpellCorrector();

// you need to do this step only one time to load the Dictionary
spellCorrector.loadDictionary();

console.log(spellCorrector.correct('sucess'));

console.log(spellCorrector.correct('spel'));

About

nodeJs Spelling Corrector version for Norvig's spelling corrector

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published