(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'] |
create a new file in /src/data/train_data_set/fileName.txt
of any name of your choice and exectute the command
(proj_env) $ python3 manage.py train
(proj_env) $ python3 manage.py addWord
Enter word seprated by space (eg. some,people,are)
-> simple james
simple added to data/search_data/si.txt
james added to data/search_data/j.txt