Zacharski.org! Zacharski.org!  
 
 
 

      About ...
· C.V.
· Citation Index
· Publications

     Interests
· Piano
· Pictures
· Brain Gym
· Content

      Connections
· Jeanette Gundel
· Nancy Hedberg
~~~~~~~~~~~~~~
· CRL
· Justine Cassell
· Melanie Mitchell
· Peter Norvig
· Stephen Wolfram
· Beth Ann Hockey

     Selected Book:





 Python for Linguists

I am working on a manuscript for 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. I am posting drafts to some of the chapters here. They 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 (raz@nmsu.edu)



 Currently available tutorials

To save the file to your computer, right mouse click on the link and select 'save as'.
1. Installing Python and getting it to run (updated March 2004)
2. Basic Python Programming: Lists and defining functions (updated March 2004)
3. Basic Python Programming: For loops and reading files
4. Basic Python Programming: Practice
5. Python Dictionaries
6. Corpus tools
...


 Solutions and data files

Tutorial 1
Exercise 1.1 (The Healthy Linguist)

Tutorial 2
Exercise 2.1 (A simple sentence generator)

Tutorial 3
Sentence generator files
(right mouse click on link and select 'save')
Initial phrases
Subject phrases
Verb phrases
Ending phrases

Tutorial 4
Atlas Shrugged
Addresses.txt











* 2003 *