An attempt to impliment spell checker using raw python
check example.py for more detail.
- Create virtual env (proj_env) and install requirements
source proj_env/bin/activate
(proj_env) $ pip3 install -r requirements.txt
- Run command
(proj_env) $ cd src
(proj_env) $ python3 manage.py run
(proj_env) $ python3 manage.py run
Enter your string: simr adr peopel
Word | isCorrect | possibleWord | suggestList |
---|---|---|---|
simr | False | six | ['six', 'sri', 'air', 'sit', 'sirs', 'sir'] |
adr | False | and | ['and', 'or', 'do', 'r', 'mr', 'di', 'pair', 'air', 'de', 'adds', 'd', 'aim', 'da', 'ur', 'sir', 'dr', 'hair', 'add'] |
peopel | False | people | ['people'] |