1 / 31

LING 388: Language and Computers

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

gigi
Télécharger la présentation

LING 388: Language and Computers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LING 388: Language and Computers Sandiway Fong Lecture 27

  2. 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

  3. 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

  4. Homework 8 Review • 1. Bill ate his soup quietly • eat.v (Ingestion) • Ingestor [Ing] • Ingestibles [Ingible] • Manner [Manr]

  5. 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]

  6. Homework 8 Review • 2. The smell of lilies filled Jennifer's nostrils

  7. Homework 8 Review • 3. Bill kissed Mary • kiss.v (Manipulation) • Agent [Agt] • Entity [Enty]

  8. 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

  9. Homework 8 Review • 4. The falling rocks crushed the car

  10. Homework 8 Review • 5. Jamie cut the ribbon with a pair of scissors • cut.v (Cutting) • Agent [Agt] • Item [Item] • Instrument [Ins]

  11. Homework 8 Review • 6. An avalanche destroyed the ancient temple • destroy.v (Destroying) • Cause [Cause] • Undergoer [Und]

  12. 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)

  13. 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]

  14. Homework 8 Review • 9. I sent John the letter • send.v (Sending) • Recipient [Rec] • Sender • Theme [Theme]

  15. Homework 8 Review • 10. The rocket was launched from Central Command • launch.v (Shoot_projectiles) • Agent [Agt] • Projectile [Projectile] • Source [Src]

  16. Homework 8 Review • 11. I baked Reggie a cake • bake.v (Cooking_creation) • Cook [Cook] • Produced_food [Food] • Recipient [Rec]

  17. 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

  18. Homework 9 Review • Objectwh-questions

  19. Homework 9 Review • Objectwh-questions

  20. 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)

  21. 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

  22. Homework 9 Review • Change the passive VP rules: • Add np(0) to the parse trees returned:

  23. Homework 9 Review

  24. Homework 9 Review • Passivization followed by wh-movement:

  25. Homework 9 Review • Yes/no-questions: Did John buy a book?

  26. 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)

  27. Homework 9 Review • Yes/no-questions: Was a book bought by John? cf. a book was bought by John

  28. Homework 9 Review • Yes/no-questions: Was John eating a sandwich? cf. John was eating a sandwich Subject-aux inversion

  29. g27.pl

  30. 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?

  31. 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…

More Related