Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++, How to create a Spellchecker class . . . Part I In this part of the assignment, you are to create a class, SpellChecker.
C++, How to create a Spellchecker class . . .
Part I In this part of the assignment, you are to create a class, SpellChecker. You will define some class data members, member methods and helper functions. The class methods will be used to check and correct the spelling of words. Elements of this assignment are intentionally vague; at this point in the semester, you should be able to make your own decisions about appropriate data structures for storing and looking up data, as well as defining helper functions. You can assume that your code will never be storing more than 10,000 valid or misspelled words. Spell Checker should have at least the following Public members: string language: the name of the language this spell checker is using (i.e. "English", "Spanish", Spell Checker should have at least the following Private members: char begin mark: used for marking the beginning of an unknown word in a string char end mark: used for marking the end of an unknown word. SpellChecker should have three constructors (set the object's data members to some default valu Default Constructor, the one with no parameters. Second constructor that takes a string parameter for the object's language Third constructor that takes a string for the object's language and two filenames as parameters. The first filename specifies the file with correctly spelled words and the second filename specifies the misspelled words with their corrections. You will be dealing with two different file types: The data in the first filename supplies a list of correctly spelled words, one word per l aardvark apple acquireStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started