Skip to content

hrs2203/spell_checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPELL CHECKER

An attempt to impliment spell checker using raw python

To use in project user QueryChecker Fxn

check example.py for more detail.

Installation

  1. Create virtual env (proj_env) and install requirements
source proj_env/bin/activate
(proj_env) $ pip3 install -r requirements.txt
  1. Run command
(proj_env) $ cd src
(proj_env) $ python3 manage.py run

Details

Sample output

(proj_env) $ python3 manage.py run

Enter your string: simr adr peopel

WordisCorrectpossibleWordsuggestList
simrFalsesix['six', 'sri', 'air', 'sit', 'sirs', 'sir']
adrFalseand['and', 'or', 'do', 'r', 'mr', 'di', 'pair', 'air', 'de', 'adds', 'd', 'aim', 'da', 'ur', 'sir', 'dr', 'hair', 'add']
peopelFalsepeople['people']

References

http://norvig.com/spell-correct.html

About

Spell checker IR challange assignemnt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages