Linguistics 484 - Grammars Ling484 Assignments A. C. Brett acbrett@uvic.ca
Department of Linguistics
University of Victoria
Clearihue C139
Last updated: 10 March 2005

Assignment #5

  1. Write the rules of a Chomsky Normal Form Type 2 grammar that licenses the following sentence:
    some nice dogs like cats
  2. Show the transitions that a Push-Down Automaton (PDA) performs to accept the foregoing string.
  3. Show the configurations of the PDA, and the contents of its input tape, during the course of its accepting the string.
  4. Draw the tree licensed for the foregoing sentence by a Type 2 grammar with the rules you wrote for Part 1. Then, number the nodes of this tree according to the order in which the PDA experiences the corresponding states as it accepts the sentence.
If you like, you may use the output from the PDA transitions (pda_d.txt) and PDA configurations (pda_c.txt) examples in your responses to Parts 2 and 3, respectively. Simply make whatever changes might be required to the clauses of the rule/2 and rule/3 predicates in each example.

Linguistics 484 Home Page Top of Page