310 likes | 427 Views
LING 388: Language and Computers. Sandiway Fong Lecture 27. Administrivia. Homework 9 due at start of class Reason: we’ll need it today … Homework 8 graded y ou should have had an email from me . Homework 8 review. Examples: Bill ate his soup quietly
E N D
LING 388: Language and Computers Sandiway Fong Lecture 27
Administrivia • Homework 9 due at start of class • Reason: we’ll need it today… • Homework 8 graded • you should have had an email from me
Homework 8 review • Examples: • Bill ate his soup quietly • The smell of lilies filled Jennifer's nostrils • Bill kissed Mary • The falling rocks crushed the car • Jamie cut the ribbon with a pair of scissors • An avalanche destroyed the ancient temple • Johnny and Linda played carelessly in the park • The caravan continued on toward the distant oasis • I sent Johnthe letter • The rocket was launched from Central Command • I baked Reggiea cake
Homework 8 Review • 1. Bill ate his soup quietly • eat.v (Ingestion) • Ingestor [Ing] • Ingestibles [Ingible] • Manner [Manr]
Homework 8 Review • 2. The smell of lilies filled Jennifer's nostrils Ambiguous • fill.v(Adorning) • Location [Loc] • Theme [Thm] • fill.v (Filling) • Goal [Goal] • Theme [Thm]
Homework 8 Review • 2. The smell of lilies filled Jennifer's nostrils
Homework 8 Review • 3. Bill kissed Mary • kiss.v (Manipulation) • Agent [Agt] • Entity [Enty]
Homework 8 Review • 4. The falling rocks crushed the car • crush.v (Reshaping) • Cause [Cause] • Undergoer [Und] • crush.v (Cause_harm) - not this one! • Cause [Cause] • Victim [Vic] - sentient
Homework 8 Review • 4. The falling rocks crushed the car
Homework 8 Review • 5. Jamie cut the ribbon with a pair of scissors • cut.v (Cutting) • Agent [Agt] • Item [Item] • Instrument [Ins]
Homework 8 Review • 6. An avalanche destroyed the ancient temple • destroy.v (Destroying) • Cause [Cause] • Undergoer [Und]
Homework 8 Review • 7. Johnny and Linda played carelessly in the park Play as a verb • play by the rules.v (Compliance) • play.v (Performers_and_roles) • Performer [Perfer] • Place [Place] • Manner [Manr] • play.v (Competition) • play.v (Cause_to_make_noise)
Homework 8 Review • 8. The caravan continued on toward the distant oasis No real match in Framenet: • continue.v (Process_continue) • Event [Evnt] • Place [Place] • continue.v (Activity_ongoing) • Activity [Activity] • Agent [Agent]
Homework 8 Review • 9. I sent John the letter • send.v (Sending) • Recipient [Rec] • Sender • Theme [Theme]
Homework 8 Review • 10. The rocket was launched from Central Command • launch.v (Shoot_projectiles) • Agent [Agt] • Projectile [Projectile] • Source [Src]
Homework 8 Review • 11. I baked Reggie a cake • bake.v (Cooking_creation) • Cook [Cook] • Produced_food [Food] • Recipient [Rec]
Homework 9 • Last time… • Exercise 2: • add subject wh-questions • e.g. Who bought a book? • Homework 9: • Add object wh-questions • e.g. What did John buy? What was bought by John? • Add yes/no-questions • e.g. Did John buy a book? Was a book bought by John? Homework instructions: modify g26.pl
Homework 9 Review • Objectwh-questions
Homework 9 Review • Objectwh-questions
Homework 9 Review • Objectwh-questions missing np | 0 what moves from object position to subject position (passivization), then from subject position to sbarq (wh-movement)
Homework 9 Review • Note that passive sentences all don’t have np(0) in the parse: • Solution is to modify the parse returned by the passive vp rule
Homework 9 Review • Change the passive VP rules: • Add np(0) to the parse trees returned:
Homework 9 Review • Passivization followed by wh-movement:
Homework 9 Review • Yes/no-questions: Did John buy a book?
Homework 9 Review • Yes/no-questions: Was a book bought by John? cf. a book was bought by John also can add a rule for were (vbd_pl)
Homework 9 Review • Yes/no-questions: Was a book bought by John? cf. a book was bought by John
Homework 9 Review • Yes/no-questions: Was John eating a sandwich? cf. John was eating a sandwich Subject-aux inversion
g27.pl Subject-aux inversion for v_aux (be) We could also implement for v_aux2 (have) and v_aux3 (modals) Has John been buying the books? Will John buy the books?
Today’s Topic • Start converting the English grammar to report predarg(Pred,Arg1,Arg2,Type) instead of the detailed parse trees that we’ve been using so far…