Skip to content

USE TO CHECK SPELLINGS OF WORDS USING USER MADE DICTIONARY

Notifications You must be signed in to change notification settings

Naman-72/Smart-Spell-Companion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Spell Checker Program

Course Project

Name : Naman Anand
Roll no : 200101070
SUBJECT : CS242
ASSIGNMENT : 3 (3RD SEMESTER)
IIT GUWAHATI 2020-24

image


How To Run 💻

perl 200101070_Assign3.pl

Some Insights Of Project

  • I have considered Dictionary of linux command aas per mentioned in our course project.
    But You Can change Dictionary According To You.
  • Approach Using Levenstein distance
    First Checking in a Dictionary , if present then It will accept it as word and move to next word Otherwise it will find the Nearest word to it and asks user which word he/she wants or simply ignore the suggestions

 EX: 

image

naman@naman-VirtualBox:~/Desktop$ perl 200101070_Assign3.pl Please Enter Your Input : naman is ok co man chmod ls

naman^: Please Check This Word Again. Do You Want Suggestion ? Press Y / y to view Suggestions else Press any other Key to Continue : N Ignoring the Spelling Mistake . Assuming You Have Entered Correctly

is^: Please Check This Word Again. Do You Want Suggestion ? Press Y / y to view Suggestions else Press any other Key to Continue : y Suggestions are -> 0) ls To Replace / Substitute the Word Press The Index Shown in Suggestion To Replace the word by that Word : 0 REPLACED SUCCESSFULLY

ok^: Please Check This Word Again. Do You Want Suggestion ? Press Y / y to view Suggestions else Press any other Key to Continue : Y Suggestions are -> 0) ul 1) bc 2) cp 3) dc 4) tr 5) vi 6) mv 7) w 8) wc 9) top 10) look 11) cd 12) rm 13) ln 14) ar 15) dd 16) awk 17) ls 18) xz 19) cc To Replace / Substitute the Word Press The Index Shown in Suggestion To Replace the word by that Word : 10 REPLACED SUCCESSFULLY

co^: Please Check This Word Again. Do You Want Suggestion ? Press Y / y to view Suggestions else Press any other Key to Continue : y Suggestions are -> 0) cp 1) cd 2) cc To Replace / Substitute the Word Press The Index Shown in Suggestion To Replace the word by that Word : 0 REPLACED SUCCESSFULLY

HENCE YOUR MODIFIED/UNMODIFIED INPUT WITH EQUAL SPACES IS : naman ls look cp man chmod ls


Thank You For Visiting

About

USE TO CHECK SPELLINGS OF WORDS USING USER MADE DICTIONARY

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages