Write a program of text processing in c++, Task is to implement text processing
ID: 3636334 • Letter: W
Question
Write a program of text processing in c++, Task is to implement text processing on the basic level.
1 Select a text document having at least 1500 words.
2 Convert all the words in lower case.
3 Remove “! @ # $ Y > , . ( *’” signs from the document.
4 Separate each word in that document on whitespace and count
a) How many times each word has occurred
b) Total number of words
5 User will be able to search any particular words from that document.
6 Implement linear search and binary search for searching on these words. User will enter the word that is to be searched.
7 Print the time for searching the word through both of the searching algorithms.
Solution Instructions:
• Separate the header and cpp files
• Make a “word” class
• You can use a vector (studied in chapter 8) or dynamic arrays for the storage of words.
• Submission file should have the proper name and folder structure to get marks. (format mentioned above)
Explanation / Answer
void read_inputdata(double input[MAX], char files[40]) { std::coutRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.