Question: Hello, This is the project , can anyone help me? I think using hash table is the best data structure , but i couldn't continue
l Zain KW LTE 10:00 PM eng.kuniv.edu Introduction In this project, you will be designing and implementing a custom dictionary to check the spelling of word. A custom dictionary allows you to supplement the dictionary with additional new words. Your task Your task is to design and implement an algorithm for a simple spell checker. The spell checker should work as follows: ask the user to enter a statement line. Process each word separately and checks its spelling against a custom dictionary data structure of words to determine if it is a valid English. Any words that are not found in the dictionary will be printed on the screen. User can add this word to the custom dictionary Consider the following sample output Welcome to spell check enter: . To print the dictionary 2 Check the spelling of a sentence 3, Quit Enter a choice:1 t sat I my cat yours rat fat you in out me A the as mat for we from bag will week day saturday sunday monday tuesday wednesday friday next 1. To print the dictionary 2. Check the spelling of a sentence 3. Quit Enter a choice: 2 Please enter your sentence I will attand a conference next week attand does not exist in the dictionary, add to the dictionary (Y for Yes N for No): N conference does not exist in the dictionary, add to the dictionary (Y for Yes N for No): Y conference has been added to the dictionary 1. To print the dictionary 2. Check the spelling of a sentence 3. Quit Enter a choice: 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
