# Lab 3b sentences # Section 2.1 # Note that the parser can *already* handle the examples that follow # (as well as many others). Note that the fifth sentence will produce # two parses, but only one is 'correct' - we will have you change the # grammar to reject the 'incorrect' one shortly poirot solved the case the detectives lost the guns poirot thought poirot sent the police poirot sent the solutions to the police # This is where the actual work of section 2.1 begins. # Sentences your revised grammar must reject as unparseable: poirot solved poirot thought the gun poirot sent # Sentences where your grammar must reject a PARTICULAR parse - # reject [the solutions to the police] as a single NP (with a PP inside it) # BUT your grammar must still be able to parse this as a separate NP followed # by a separate PP, with 'send' taking two distinct arguments, as poirot sent the solutions to the police # Section 2.2 # your grammar must correctly deal with all the examples in 2.1 # PLUS: poirot believed the detectives were incompetent poirot believed that the detectives were incompetent # Section 2.3 # all of 2.1 and 2.2 PLUS: poirot did solve the case poirot did send the solution to the police poirot did believe that the detectives sent the solution to the police did poirot solve the case did poirot send the solution to the police did poirot believe that the detectives sent the solution to the police did who solve the case did poirot send which solution to the police did poirot believe that the detectives sent which solution to the police which case did poirot solve who solved the case which solution did poirot send to the police which detectives solved the case which solution did poirot believe that the detectives sent to the police # Sentences to reject as unparseable: which solution did poirot send the gun to the police who solved which detectives solved # Section 2.4 # all of 2.1-2.3 PLUS: the solution solves the case the solutions solve the case the solutions that poirot sent to the police solve the case # Sentences to reject as unparseable: the solution solve the case the solutions solves the case the solutions that poirot sent to the police solves the case # Section 2.5 # same examples as 2.4, but now the grammar format will change, using features # Section 2.6 # all of 2.5, using features, PLUS this example, using the 'slash' feature: to whom did poirot send the solutions