This draft manuscript is an introductory Python tutorial for linguists. The book covers the rudiments of Python programming, writing simple programs for corpus linguistics, and writing programs for computational linguistics. The chapters are in PDF format and can be viewed and printed using the free program, Acrobat Reader.
I’m very interested in getting your comments. In addition, if you are having problems with some aspect of Python, and you want some help, please send me email (ron.zacharski_AT_gmail.com)
I would like to acknowledge Steve Bethard (http://ucsu.colorado.edu/~bethard/) who graciously helped in a recent edit of these chapters.
This draft is not connected in any way to O’Reilly Media.
To save the file to your computer, right mouse click on the link and select ’save as’.
5. Python Dictionaries
6. Corpus tools
healthy_linguist.py (To download using a Windows machine, right-click on the link and chose ‘Save Target As …’)
1. Initial.txt (To download using a Windows machine, right-click on the link and chose ‘Save Target As …’)