Question: PLEASE ANSWER IN C++ Code, using hashtable data structures to list all the words. add clock to see how long the code runs for --

PLEASE ANSWER IN C++ Code, using hashtable data structures to list all the words. add clock to see how long the code runs for
PLEASE ANSWER IN C++ Code, using hashtable data structures to list all
the words. add clock to see how long the code runs for
-- Top 10 Frequent Words 1. Project Definition You are expected to
write a c++ console application that reads and counts unique words used

-- Top 10 Frequent Words 1. Project Definition You are expected to write a c++ console application that reads and counts unique words used in documents: articles. chapters, books about Applied sciences, Mathematics, Information science published from 1900 to 2021 and find Top 10 frequent words used in these documents. Articles Dataset.txt file contains all the metadata information of documents unigramCount contains all unique words and their number of occurrences for each document. There are 1500 publications recorded in the txt file. Find total frequency of all the unigrams used in all publications and print top 10 frequent words in these documents. Here is an example entry for a document: Definition of a word: For simplicity assume that any contiguous block of alphabetic characters (letters from "a" to "z", both upper and lower case) which includes at most one single quotation mark between these letters is a word. According to this definition the following sentence in an article: "if we don't have local agreements settled by Thursday", has the words: "it", "we". "don't", "have", "local", "agreements", "settled", "by", "Thursday". Also note that; to combine the counts of each unigram, you must lowercase all the characters in each string, That means the string "the" and "The" are same. Main Requirements: After reading and processing is over, your program must print "top 10" most frequent words used in these documents in descending order. Additionally, the total time elapsed from the beginning of your code to the end of printing top 10 must be calculated and printed at the end of the execution. Here is an example output: Automatic Zoom A. Implementation of data structure. This will be a proper C++ class. You must be able to create many instances of this class. DO NOT use third-party libraries and C++ STL, Boost etc.) However, you can use, iostream, ctime, fstream, string like 10 and string related classes. B. Main program. In the main function, you must create a list of words. And total time should be calculated from starting the preprocessing of data, to the end of Top 10 calculation. 2. Submission You must submit your code containing ONLY source files.cpp) and header files (h. (if there are any)) of your project in a ZIP file. Report (pdf format) and a presentation video that is at most 15 minutes of recording in mp4 format. (You can find the requirements of report and video recording in Evaluation section.) Every group must prepare a video recording of their demonstration. And each group member must participate in the explanations given below: Run your code and show the output. Explain how you implemented the data structure on the code. o Explain search and insert functions of the data structure. Explain how your code finds Top 10 words and the reason of your search/sort algorithm choice. Every group must prepare a project report with: . Output of your code Main data structures and algorithms used in the project. Timing result 5. Bonuses You can get bonuses for extra efforts: * Good coding styles and 00 programming skills Making a generic class for data structure. or any other nice feature you can think of. * Please mention such extra efforts

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!