Question
Part 1 - Count unique words 1 (python) In Exercise 6 in Assignment 3 you saved all words from the two text files eng_news_100K-sentences.txt and
Part 1 - Count unique words 1 (python)
In Exercise 6 in Assignment 3 you saved all words from the two text files eng_news_100K-sentences.txt and holy_grail.txt in two separate files. (Do it now if you haven't done this exercise already,) Your task here is to 1) use Python's set class to count the number of unique words in each file, and 2) use Python's dictionary class to produce a Top 10 list of the ten most frequently used words having a length larger than 4 in each file. In Part 3 you will repeat the same computations using your own hash and BST based implementations.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started