Source: http://www.sfu.ca/~mcrobbie/Ling221/Lecture2.pdf