CSCI-GA.2590 - Natural Language Processing -- Spring 2013 -- Prof. Grishman

Assignment #2

February 12, 2013

You may want to use the Jet parser for the first three exercises, and particularly for #2. Keep in mind in doing these exercises that many words have several parts of speech.

  1. (1 point) Using the tiny grammar below, draw the two parse trees for the sentence “The fair features live music.”  (If you do this with Jet, note that this grammar is slightly different from that provided as grammar1.)  Suggest a linguistically-reasonable constraint which would resolve this ambiguity.
  2. sentence :=  np v | np v np;
    np     :=  n | art n | adj n | art adj n;
  3. (2 point) Using the same tiny grammar, compare the efficiency of the top-down backtracking parser, a bottom-up (immediate constituent) parser, and a top-down chart parser on the sentence “The fair answers questions.”  For the two grammar symbols, sentence and np
  4. (1 point) Modify this grammar to capture subject-verb number agreement.  Does "The fair answers questions." now produce one parse?
  5. (1 point) J&M exercise 5.1. (practice tagging some text)

Due February 19th.

Assignments may be submitted in hard copy at the beginning of class, or by email to both grishman@cs.nyu.edu and xiangli@cs.nyu.edu with the subject line NLP - Assignment #2. Email assignments are due by midnight.