Writing a book - which words do you use most?

Sep 13, 2009

A friend who is writing a book requested help in an app which can count number of occurrences for each word in the book. The idea is to identify words that one tends to use more often (everyone has favorite words), and then reduce such occurrences.

Of course, scope creep always seeps in, and by the end it was more than just counting occurrences, with additional features like 1) exclude common words like 'the', 'and' etc specified in a config file 2) allow sorting based on count, alphabetic etc 3) calculate average word size, avg words per line, total lines etc.

Download python executable



  1. on Jul 21, 2011 08:07 PM by  Cade

    At last, smoenoe comes up with the 'right' answer!

Leave a Comment