CSC485 / 2501 Fall 2000 - Computational Linguistics 

Links

CSC485/2501 Home
Stage 2

 
The following is a test suite of sentences that you can use as a target for what to make your Stage 2 syntactic analyser be able to parse. The sentences marked with a * should be correctly identified as ungrammatical. Note that this is quite a difficult test suite; it is unlikely that you will get all of them.

    i give
    *i gives
    he was given
    *him was given
    *we was given
    we were given
    i can give
    *i can given
    i do give
    *stamps gives be man the office at
    the man has given
    the nice men have given
    the man bought her stamp
    the man bought himself a stamp
    you give a stamp
    *you give i
    i gave at the office
    this stamp is for you
    this buys it
    some give to you
    the stamp was bought by the office
    this stamp was bought at the office by you for me
    *this stamp was bought at the office by i for me
    *this stamp was bought at the office by you for i
    this stamp was bought by you at the office
    the man wants some water
    *the man wants a water
    the man has bought the stamp
    the man has been buying the stamp
    the man will have been buying the stamp
    the man will have bought the stamp
    when will it give pleasure
    it will give pleasure tomorrow
    will the man be given a chance
    did the office buy a stamp
    *did the office buys a stamp
    how many stamps were bought
    who gave the stamp
    which men give pleasure
    how many give pleasure
    which did you give me
    *which did us give you
    which stamp did you give me
    what office did you give to
    in which office did the man give
    at which office was it bought
    the man likes to buy a stamp
    the man likes buying stamps
    the man likes the office to buy stamps
    the man likes the office buying stamps
    the man is nice
    the man is very nice
    which stamp did they want to give the office
    the man has to have the stamp
    the man must have the stamp
    *the man must has the stamp
    the man must want to need to have the stamp
    the stamp that i can buy is at the office
    *the stamp that me can buy is at the office
    the stamp which i buy is at the office
    the stamps that i can buy you are at the office
    list all stamps
    buy a stamp
    at which office are you giving
    the stamp of the man of the office is bought
    whom was the stamp bought by
    who was the stamp bought by
    which office was the stamp i gave bought at
    which office was the stamp i gave you bought at
    which office was it given to

    For graduate students in the course
    for her to argue can be a pleasure
    *for her to argue give pleasure
    buying a stamp gives pleasure
    buying herself a stamp gives her pleasure
    the man having pleasure at the office gave stamps
    *the man having pleasure give stamps
    the man having pleasure gave stamps
    the stamp given to the office was bought
    the stamp given by the man to the office has been bought
    the stamp they bought gives chance
    which man gave the stamp bought by me
    the stamp that the men gave can be bought