nl en

Python for Linguists



The course covers basic Python for linguistic analysis for BA students Linguistics.

Course objectives

  • Knowledge of the basic aspects of Python 3 that are the most relevant for linguistic analysis (e.g. basic syntax, strings, lists, dictionaries, functions, data formats, visualisation).

  • Ability to adopt a basic computational mode of thinking, organizing a problem into sub-tasks, data structures, and test cases.

  • Ability to apply the knowledge obtained in writing short programmes in Python for linguistic analysis.


The timetables are available through My Timetable.

Mode of instruction

Practical workgroups/tutorials and online support (forum).

Assessment method


There will be a final exam (programming assignments and short questions). In addition, continuous assessment will take place through weekly mini-exams at the beginning of class, each consisting of a few short programming assignments or short questions and lasting a couple of minutes in total. The mini-exams test students’ understanding of the preceding lectures and homework. In case of structural inability to attend, a replacement for the mini-exams will be conceived (programming assignment).


Your final grade will be computed as the weighted average of: the average of mini-exams (50%), and the final exam (50%). The average of mini-exams will be computed after dropping two lowest/missing results.


A resit will be offered only for the final exam, in the form of a substantial practical assignment (programming + report). There is no resit for the mini-exams (but note that that two lowest/missing mini-exam results are always dropped).

Inspection and feedback

How and when an exam review will take place will be disclosed together with the publication of the exam results at the latest. If a student requests a review within 30 days after publication of the exam results, an exam review will have to be organized

Reading list

Natural Language Processing with Python. Online edition for Python 3 (free online:
Think Python: how to Think Like a Computer Scientist. 2nd edition (free online:


Enrolment through uSis is mandatory.
General information about uSis is available on the website.


  • For substantive questions, contact the lecturer listed in the right information bar.

  • For questions about enrolment, admission, etc, contact the Education Administration Office: Reuvensplaats


not applicable