Python for Linguists

Published:

Python for Linguists

Goals: This course is aimed at students interested in Computational Linguistics, who do not have any programming background. It will introduce students to the basics of a programming language (e.g. loops and if-statements) as well as the practical skills required for text processing tasks. We will use Python 2.7 in this course as well as associated libraries such as NLTK (Natural Language Processing Toolkit). There will be lectures, in-class exercises, as well as assignments, followed by a mini-project for students to complete. We will use readily available corpus resources in English as well as Indian languages, wherever available. This class will also serve as a pre-requisite to a Computational Linguistics/Natural Language Processing course.

The course plan is available here. Note that I taught a shortened version of this course plan over the course of several weekends. As this was an informal weekend course, there was no official course code.

 TopicSlides etc.
0Introductionpdf script txt
1Objectspdf
2Lists, Dictionariespdf
3Modulespdf script
4Loopspdf
5NLTKpdf
6NLTKpdf
7Regular expressionspdf
HW1Home assignment1txt
HW2Home assignment 2txt
HW3Home assignment 3txt