Add a script that computes word frequencies