Official course website for Compuational Linguistics 2 (Lin 637), Stony Brook University, Spring 2016
TeX Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Computational Linguistics 2


This is the primary course website for Computational Linguistics 2 (Lin 637), offered by the Department of Linguistics at Stony Brook University. For a brief list of topics, check the syllabus.

This repository is publicly accessible and hosts the LaTeX source code for the lecture notes. Compiled pdfs of each chapter are available in the pdf folder.


This course assumes a certain degree of familiarity with generative syntax, phonology, and basic mathematics (sets, functions, relations, first-order logic). Please take the online survey to ensure that you satisfy the prerequisites. If you have weaknesses, consult the relevant material suggested in the readings repository (access restricted to enrolled students).

In addition, you will have to use Python, markdown and LaTeX at various points during this course. The link list at the end of this document has some useful tutorials.

If you don't want to deal with installing Python and git, you can download our virtual machine that already comes with everything preconfigured. Access is restricted to Stony Brook affiliates.


Course readings are made available through the private readings repository. You must be enrolled in this class in order to get access.


Each homework will be hosted in its own private repository. Only course participants have access to these repositories.

Homework 1: due Wed, Feb 10, 11:59am

Homework 2: due Wed, Feb 17, 11:59am

Homework 3: due Fri, Feb 26, 11:59am

Homework 4: due Wed, Mar 2, 11:59am

Homework 5: due Fri, Mar 11, 11:59am

Homework 5: due Fri, Apr 8, 11:59am

Compilation Instructions

If you want to compile the lecture notes yourself, or use them as the basis for your own course, carefully follow the steps below.

  1. Make sure you have all necessary software installed and set up correctly, in particular
  • a recent LaTeX distribution with Tikz >= 3.00 and recent versions of minted and forest
  • the Python pygments package (required by minted)
  1. Clone the repository via git, or download and extract the zip file. Note that the project folder will also contain an empty build folder, which is used for temporary files to speed up compilation.

  2. Use the standard tex --> pdf compilation tool chain (not tex --> dvi --> ps --> pdf!), but make sure that pdflatex is run with the parameters --shell-escape and --etex.

Link List

Using git