Question
Hi! I really need help in the following python programming help. Text file with English words is written below. You are asked to write a
Hi! I really need help in the following python programming help. Text file with English words is written below.
You are asked to write a program that counts unique words from an English text file, treating hyphen and apostrophe as part of the word. Your program must output the ten most frequent words and mention the number of occurrences. The expected output is: and (514) the (513) i (446) to (324) a (310) of (295) my (288) you (211) that (188) this (185) You can use python as a programming language and must supply your program in a .tar.gz archive. It should be easy to build and, although it solves a very simple problem, be written with very high production-quality standards. Code as if your archive were to be delivered to one of our clients. You will be evaluated on the following criterion: design, structure, implementation, testability. If your program doesn't match exactly the expected output stated above, it will not be evaluated.
Text file:
I cannot write the file contents here so I uploaded the txt file to the drive. Here is the link https://drive.google.com/file/d/1yn93kfCyNDAkXdSbJCvbnNlW_WAYusrQ/view?usp=sharing
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