clscripts

Repository for computational linguistics scripts (bash, python, octave, R, etc).

View the Project on GitHub leolca/clscripts

downloadTheFederalistPapers.sh

Download The Federalist Papers to local folder and also create a list of the papers written by Madison, Jay and Hamilton.

script usage

$ ./downloadTheFederalistPapers.sh

usage examples

$ ./downloadTheFederalistPapers.sh 
$ cat *.txt | ./wordcounttfl.sh -w > vocabulary
$ head -n 2000 vocabulary > vocabularytop2000
$ python cosineexamplefederalist.py 

the federalist papers

back