Question: Make a spell checking program that suggests the proper spelling of a misspelled word using a trie. Consider these types of misspellings: changer the order
Make a spell checking program that suggests the proper spelling of a misspelled word using a trie. Consider these types of misspellings: changer the order of letters (copmuter), omitting a letter (computr), adding a letter (compueter), repeating a letter (computter), and changing a letter (compurer). For example, if the letter i is exchanged with the letter i + 1, then the level i of the trie should be processed before i + 1. c++ and thank you for your time.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
