Tuesday, November 25, 2014

Word Frequency Counter

This program makes a count of the words on a webpage. The basic outline of the program is as follows:

(1) Use Beautiful Soup to  crawl a webpage.
(2) Put words from webpage into list.
(3) Pass this word list into a method that cleans up word list.
(4) Pass this clean word list into method that creates a dictionary with key of word and value of number of times word occurs.

See program below:

No comments:

Post a Comment