How to write a code in Python to read a text document and list words from most to least frequent?
the title says it all - I would like to analyze some books and make word (pattern in Python I suppose) statistics as an output. any idea how to do this?