Question: Creating a spellchecker class in C++ Please help with exact requirements Part I In this part of the assignment, you are to create a class,

Creating a spellchecker class in C++ Please help with exact requirements

Creating a spellchecker class in C++ Please help with exact requirements PartI In this part of the assignment, you are to create aclass, SpellChecker. You will define some class data members, member methods andhelper functions. The class methods will be used to check and correctthe spelling of words. Elements of this assignment are intentionally vague; at

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 acquire

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!