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.
Q2 : Word Sub-sequences and Spell Checker. Write a C++ program where the user can, on the command line, nominate a filen
-
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!