Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using c++ : please help This is an individual assignment. STRICTLY NO COPYING from other sources except codes given in this co'rse. If detected all

Using c++ : please help image text in transcribed
This is an individual assignment. STRICTLY NO COPYING from other sources except codes given in this co'rse. If detected all parties involved will get 0 marks Assignment Write a program which can 1. let the user search for a word from a set of ten text files (named 1.txt to 10.txt), and 2. for each occurrence of the word, display the file name, the line number and the line of text where the occurrence is. The program should run in a loop for the user to eonduct different searches until the user searches until the user decide to quit the program. The search is of the program before the searches begin, generate the indices and store them in memory Select and implement the appropriate data structure(s) to store the indices. You may write your own codes and / or use the STL container(s) to be carried out by using indices to words in the text files. At the beginning When generating indices, filter out all non-alphanumerie characters first and ignore words in Stop Words.txt. Only index words which are formed from 'a-z, 'A-Z' and '0-9 There is also no need for the indices to be case sensitive. Design your own user interface to facilitate the above featuwes Deliverables a) C++ Source code in one file only named using the format This is an individual assignment. STRICTLY NO COPYING from other sources except codes given in this co'rse. If detected all parties involved will get 0 marks Assignment Write a program which can 1. let the user search for a word from a set of ten text files (named 1.txt to 10.txt), and 2. for each occurrence of the word, display the file name, the line number and the line of text where the occurrence is. The program should run in a loop for the user to eonduct different searches until the user searches until the user decide to quit the program. The search is of the program before the searches begin, generate the indices and store them in memory Select and implement the appropriate data structure(s) to store the indices. You may write your own codes and / or use the STL container(s) to be carried out by using indices to words in the text files. At the beginning When generating indices, filter out all non-alphanumerie characters first and ignore words in Stop Words.txt. Only index words which are formed from 'a-z, 'A-Z' and '0-9 There is also no need for the indices to be case sensitive. Design your own user interface to facilitate the above featuwes Deliverables a) C++ Source code in one file only named using the format

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Select Healthcare Classification Systems And Databases

Authors: Katherine S. Rowell, Ann Cutrell

1st Edition

0615909760, 978-0615909769

More Books

Students also viewed these Databases questions

Question

Become familiar with coupling, cohesion, and connascence.

Answered: 1 week ago

Question

Define job pricing. What is the purpose of job pricing?

Answered: 1 week ago

Question

What are some companywide pay plans? Briefly discuss each.

Answered: 1 week ago