Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Cleaning In ignoreWords.txt you are given the 50 most commonly occuring words in the English language (separated by whitespaces). Write a program (you will need

Cleaning

In ignoreWords.txt you are given the 50 most commonly occuring words in the English language (separated by whitespaces). Write a program (you will need a new cpp file here) that creates a new text file excluding all occurrences of any of these words from a given input text file. Test your program on the test file you created in part 1 (100 words) and call it something like cleanedTextTest.txt.

If your algorithm appears to be working correctly, run it on the full Hunger Games file (use the number of words you found in part 1A and call it something like cleanedText.txt.

(Since we have not introduced techniques for creating variable length arrays, you should manually declare your arrays to a fixed length. Your array length(s) should be set to a specified lengthwithinthe cpp file, as we cannot change the length of standard arrays during program execution time.)

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

Step: 3

blur-text-image

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

Combinatorial Testing In Cloud Computing

Authors: Wei-Tek Tsai ,Guanqiu Qi

1st Edition

9811044805, 978-9811044809

Students also viewed these Programming questions

Question

Simplify each expression. 2(-5)+(-3)(-2) -83-1

Answered: 1 week ago

Question

What is the difference between ARPANET and the Internet?

Answered: 1 week ago

Question

Name the four major components of the domain name system.

Answered: 1 week ago