Ling187: Grammar Engineering

Homework Assignment for Week 1

Due: Wednesday, April 12 (by midnight)
Submit assignments electronically to both professors (kaplan "at" parc.com and thking "at" parc.com)


Turn in: 1. the final grammar you end up with
2. a list of 10 sentences that your augmented grammar can parse

XLE Walkthrough

EXERCISE 1: Basic Walkthrough

Do the XLE "walkthrough". Do not do the transfer walkthrough that is at the very end (we will talk about transfer at the end of the course).

The walkthrough (and all the XLE documentation) is on-line at:

  1. http://www2.parc.com/istl/groups/nltt/xle/doc/xle_toc.html
  2. Choose: Walkthrough

The walkthrough has two parts:

  1. where you type in a grammar yourself
  2. where you use an existing file. This file can be found in:
    /afs/ir.stanford.edu/class/linguist187/assignments/week1/
    or
    /afs/ir.stanford.edu/data/linguistics/XLE/SunOS/doc/

You need to do both parts of the walkthrough.

EXERCISE 2: Augmenting your lexicon

You should augment this grammar by adding to the lexicon:

Turn in: This augmented grammar.

PART 2: Sentences

Create a list of 10 sentences that your augmented grammar can parse.

Turn in: This list of sentences.


If you have any questions, you can send us email (kaplan "at" parc.com, thking "at" parc.com), call us (Ron: 812-4348; Tracy: 812-4808), or set up office hours with us.