Monday 9 November 2009

awk script for testing Zipf's law


Ever wondered how to test Zipf's law on a corpus? Here's an awk script that does the job in just two lines:

No comments:

Post a Comment