Written in python, calculates word frequency from a given text source.