Website Word Ranking



A simple task: read a website, count the occurrences of each word, and rank them accordingly.

An example: Website content: "Der Kapitaen, der das Boot lenkt, geniesst das Erfrischungskaltgetraenk."

Result:

der 2

das 2

Kapitaen 1

Boot 1

...

 

 

It is entirely up to you how to design this program. Think of all the data structures you know, and choose wisely.

We will discuss more in class on Friday.

 

Help for URL-word reading is HERE. It's a little program that reads a German news website, and a US news website, filters valid words,

and computes the average word length. Guess which one has, in average, longer words!

 

 

That's it!

Due date: best before Sunday 4/22 for 10 points, 6 points for the following week, 0 points afterwards.