Q2 : Word Sub-sequences and Spell Checker. Write a C++ program where the user can, on the command line, nominate a filen

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Q2 : Word Sub-sequences and Spell Checker. Write a C++ program where the user can, on the command line, nominate a filen

Post by answerhappygod »

Q2 : Word Sub-sequences and Spell Checker.
Write a C++ program where the user can, on the command line,
nominate a filename and an action. The action will be one of
following two.
Your program must also display timing information.
a) Read the file and list the top 10 occurrences of
sub-sequences of 2, 3, 4, and 5 letters with no consecutive
repeating letters. Your program must only read the file
once.
b) Allow the user to enter a word and if it is not in the
dictionary then display a list of words that are “close” to this
word. This simulates a basic spell checker. Your program must only
read the file once.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply