Skip to content

tommix000/SpellingCorrector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpellingCorrector

A Spelling corrector in Scala inspired by the blog post How to write a Spelling Corrector by Peter Norvig.

##Usage:

To see the Spelling Corrector in action, execute the contained ScalaTest using sbt, which calls the function SpellingCorrector#correct:

$ sbt test
[info] Loading project definition from .../SpellingCorrector/project
[info] Set current project to SpellingCorrector (in build file:.../SpellingCorrector/)
[info] SpellingCorrector$Test:
[info] differants
[info] - should lead to different
[info] Run completed in 1 second, 540 milliseconds.
[info] Total number of tests run: 1
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 1, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[success] Total time: 2 s, completed ....

About

A Spelling corrector in Scala inspired by http://www.norvig.com/spell-correct.html

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages