in reply to Module for text/phrase ranking

You may also wish to take a look at Ted Pedersen's Ngram Statistics package.

HTH,

planetscape