This is a Java programming question not a c++ question Create a \"spell checker\
ID: 3626279 • Letter: T
Question
This is a Java programming question not a c++ questionCreate a "spell checker" Program that can check word entered by the user. First create a class named SpellCheck that will use a long list of correctly spelled words as its "dictionary" . This program should read a word from the user and convert it to lower case. Then the program checks to see whether the word is in the list of correctly spelled word(dictionary) or not. If present, you should tell the user that the word is spelled correctly. If it is not in the dictionary, you should show the user a list of similar words that are in the list .
The program should implement the 5 ways of modifying the correctly spelled words to see if viable alternates are created:
1. Delete a Character. This must be done for each character in the original word.
a) Delete a character from the word and check to see if each new word is in the dictionary.
2. Add a character. Put each of the 26 letters of the alphabet in each of the possible positions in the original word.(Check to see if new word is in the dictionary)
3. Change a character. Substitute each of the 26 letters of the alphabet for each of the characters in teh original word
a) Check to see if each word is in the dictionary
4.Swap two characters. Reverse the order of each consecutive pair of characters in the word
a) Chech to see if the new word is in the dictionary
5 Insert a space to each possible position in the original word, breacking it in to two words.
The program must create a list of each of the possible word alternatives to display to the user. When the program does present a list of possible alternatives words to the user, it must Not include dublicates in the list. The program should break up its task into methods.
Make use of the Java Collection Framework(JFC) classes and interfaces such as ArrayList,LinkList,set,Map etc. Also include appropriate Javadoc comments
Explanation / Answer
Hey, could you please give me the points? I really need them... I promise to return the favor :)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.