Repository for computational linguistics scripts (bash, python, octave, R, etc).
Download The Federalist Papers to local folder and also create a list of the papers written by Madison, Jay and Hamilton.
$ ./downloadTheFederalistPapers.sh
$ ./downloadTheFederalistPapers.sh
$ cat *.txt | ./wordcounttfl.sh -w > vocabulary
$ head -n 2000 vocabulary > vocabularytop2000
$ python cosineexamplefederalist.py