CIS 71: Homework 12

Handed out: 11/14/06
Due: by 10:00pm on 12/03/06
Email program to TA.

We have access online to the text of many books. For instance here is a site with plenty of online books.

Each one of you should download the text of a book. Then identify all the words in the book, determine the number of occurrences of each word, and save to a file the words with their counts in order of decreasing number of occurrences. If two words have the same number of occurrences, you will store the words in their lexicographic order.

It will be interesting to see if there are many differences in the word frequencies of different authors.

As a comment at the beginning of your program you should do a case analysis for this problem: problem statement, analysis, design, implementation, and testing.