How can I count word frequency in a web site?

ryguy7272 ryanshuell at gmail.com
Mon Nov 30 10:04:50 EST 2015


On Sunday, November 29, 2015 at 9:51:46 PM UTC-5, Laura Creighton wrote:
> In a message of Sun, 29 Nov 2015 21:31:49 -0500, Cem Karan writes:
> >You might want to look into Beautiful Soup (https://pypi.python.org/pypi/beautifulsoup4), which is an HTML screen-scraping tool.  I've never used it, but I've heard good things about it.
> >
> >Good luck,
> >Cem Karan
> 
> http://codereview.stackexchange.com/questions/73887/finding-the-occurrences-of-all-words-in-movie-scripts
> 
> scrapes a site of movie scripts and then spits out the 10 most common
> words.  I suspect the OP could modify this script to suit his or her needs.
> 
> Laura


Thanks Laura!



More information about the Python-list mailing list